Hi.
I have made an animation scene that works on emulator, but unfortunately crashes on a real machine.
I use 3 splitlines and on my splitlines I change R#18 and the display page.
I think the msx crashes because of my polling code, can anyone see if there is an issue here ?
The scene is in screen 5, and this is how I poll for a splitline:
PollForLine: ;in b-> splitline ld a,1 ;set S#1 di out ($99),a ld a,15+128 out ($99),a ld a,b out ($99),a ld a,19+128 out ($99),a nop ; don’t access too fast nop ; don’t access too fast .Poll: in a,($99) ; poll until line reached, also clears FH bit rra jp nc,.Poll xor a ;set S#0 out ($99),a ld a,15+128 ei out ($99),a ret
Login or register to post comments