While VSM runs very well with some more sophisticated programmes, I hit a problem with a very simple one. When experimenting with Byte and Word variables I wrote this little routine to explore a problem with dividing a word variable by a byte variable:
main: b0 = 5
w1 = 1000
poke $80, b2
poke $81, b3
w1 = 0
peek $80, b2
peek $81, b3
b1 = w1/b0
poke $80, b2
poke $81, b3
wait 1
goto main
end
When I run it on 14M on the debugger, all RAM cells and registers show the right values, but the Program debugger window shows only a message 'No source line at PC address (PC-00F0). This prevents me from stepping through the routine.
Can anybody help? Thanks Klaus
main: b0 = 5
w1 = 1000
poke $80, b2
poke $81, b3
w1 = 0
peek $80, b2
peek $81, b3
b1 = w1/b0
poke $80, b2
poke $81, b3
wait 1
goto main
end
When I run it on 14M on the debugger, all RAM cells and registers show the right values, but the Program debugger window shows only a message 'No source line at PC address (PC-00F0). This prevents me from stepping through the routine.
Can anybody help? Thanks Klaus