Pascal and Assembler : Example
This example can be useful for you
if you want to start creating new games and programs on your Rockchip! :mrgreen: (And adopt games and programs from another Rockchips! 8) ) Pascal: Begin port[$70]:=$2E; port[$71]:=$00; port[$70]:=$2F; port[$71]:=$00; End. Assembler: mov dx, 070h mov al, 02Eh out dx, al inc dx xor al, al out dx, al mov dx, 070h mov al, 02Fh out dx,al inc dx xor al, al out dx, al mov ax, 4C00h int 21h Terminate P.S. Maybe it's worth to create New Subforum "Programming on Assembler" ... :P P.P.S. I have an idea! :idea: We can create Sega 16 bit Emulator (or other game station emulator) and play in ALL Sega games! It's more easier than to create the new one... :oops: |
WIZARD -> you hopefully see that assembler is much more difficult than Pascal or C++. I believe that Benny wanted to do some NES emulator or something like this (he was certainly writing about PDF reader which would be awesome for me :D)
|
Re: Pascal and Assembler : Example
Yes, I agree with you.
As you see, this program on pascal have 6 strings, but on assembler : nearly twenty! :shock: But their structures are similar! I think that creating Sega/Dendy/Nes Emulator is better than creating OWN games, because you will get ALL THE GAMES from these gamestations! :P More logical... :wink: Maybe I'll create something new... :roll: (But I'm studying now, and have a problems with my free time...) |
So, Wizard, what does this "program" actually do?
|
You'll have to write a x86-DOS emulator first to be able to run the above asm-code on yout RockChip.
|
Re: Pascal and Assembler : Example
The program is just a sample, it can't do anything.
Also, this topic is outdated, please don't post here anymore. |
| All times are GMT -7. The time now is 8:22 am. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2