A simple way to see if the ROM is being called is to create a service that just prints a character each time it's called.
eg have &8003 JMP to code that codes something likeNow when BREAK is pressed the ROM will be called a few times so you should see a character relating to the service call appear on the screen each time.
Similarly, *HELP should cause an I (service call 9(, and *NOSUCHCOMMAND and many others should trigger this.
This proves the ROM is recognised and is being called.
Then you can write a proper service![Smile :-)]()
e.g.
eg have &8003 JMP to code that codes something like
Code:
PHPPHAADC #64JSR &FFEEPLAPLPRTS
Similarly, *HELP should cause an I (service call 9(, and *NOSUCHCOMMAND and many others should trigger this.
This proves the ROM is recognised and is being called.
Then you can write a proper service

e.g.
Code:
10FOR A=0 TO 3 STEP 3 20P%=&8000 30O%=&3000 40[OPT A+4 50BRK:BRK:BRK 60JMP svc 70EQUB &82 80EQUB copy MOD 256 90EQUB 1 100.title 110EQUS "test" 120.copy 130BRK 140EQUS "(C) eh" 150BRK 160.svc 170PHP 180PHA 190ADC #64 200JSR &FFEE 210PLA 220PLP 230RTS 240] 250NEXT 260OSCLI "SAVE TST 3000 " + STR$~O% + " 8000 8000"
Statistics: Posted by sweh — Mon Jan 13, 2025 11:26 pm