
27th Oct 2008, 1:43 pm
|
 |
Senior Member
MPx Junkie
|
|
Join Date: Mar 2008
Posts: 300
|
|
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... ops:
|