Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wish Add Betadisk Syntax
#1
Hi,

my wish:

Can you please add Betadisk-BASIC-Syntax:

Betadisk 48k TRDOS v4 e.g.: RANDOMIZE USR 15363: REM: SAVE "X" CODE 16384,6912
or:
Betadisk 128k TRDOS v5 e.g.: RANDOMIZE USR 15619: REM: SAVE "X" CODE 16384,6912

Both change the adress of the BASIC-interpreter to point behind the REM: and than do a call to ROM
Betadisk 48k TRDOS v4 to: 15363
or:
Betadisk 128k TRDOS v5 to: 15619

and after that restore the BASIC-interpreter-pointer to the next line

Regards,

Luzie
Reply
#2
In a compiled program, it's pure machine code, so the basic interpreter is pretty much unimportant - with a few exceptions of rom data and routines that the compiler links to (one reason it's not ideal for 128K programming).

What you really need is someone to write routines that access the beta disk in machine code, and that's not trivial. If they exist, however, they would be fairly easy to include as compiled functions. Since you're not running basic, adjusting the basic interpreter to allow betadisk syntax will have no effect at all.
Reply
#3
Hey, britlion. Nice to hear you're alive and kicking!! 8)
I think it's like Britlion suggest: better create asm inline subroutines and call them from BASIC. It's easier, faster and more portable.
Reply
#4
Easiest way: Exit to Sinclair BASIC, do the loading from here and then go back to compiled code (all using pokes to control). Then it is easy to ccnvert the loader to other disc systems.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)