Hi to all
I tried translate the VDPready ASM routine that exist in the MAP to pascal inline .. but when I call the procedure the program crash can anyone give a little help
http://map.tni.nl/sources/docopy.php
procedure VDPready;
Begin
{VDP_Ready:
ld a,2
di
out (#99),a ;select s#2
ld a,15+128
out (#99),a
in a,(#99)
rra
ld a,0 ;back to s#0, enable ints
out (#99),a
ld a,15+128
ei
out (#99),a ;loop if vdp not ready (CE)
jp c,VDPready
ret}
inline ($3A/$02/
$F3/
$D3/$99/
$3E/$8F/
$D3/$99/
$1f/
$3E/$00/
$D3/$99/
$3E/$8F/
$FB/
$D3/$99/
$da/VDPready2
);
End;
thanks
Aangemeld of registreer om reacties te plaatsen