FAQ  •  Register  •  Login

Wish Add Betadisk Syntax



Posts: 35

Joined: Thu Nov 05, 2015 9:11 pm

Post Tue Feb 23, 2016 7:31 pm

Wish Add Betadisk Syntax


my wish:

Can you please add Betadisk-BASIC-Syntax:

Betadisk 48k TRDOS v4 e.g.: RANDOMIZE USR 15363: REM: SAVE "X" CODE 16384,6912
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
Betadisk 128k TRDOS v5 to: 15619

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




Posts: 790

Joined: Mon Apr 27, 2009 7:26 pm

Location: Slough, Berkshire, UK

Post Wed Feb 24, 2016 11:07 pm

Re: Wish Add Betadisk Syntax

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.


Site Admin

Posts: 1520

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Mar 02, 2016 10:35 pm

Re: Wish Add Betadisk Syntax

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.


Posts: 608

Joined: Fri Feb 13, 2009 3:11 pm

Location: Vienna, Austria

Post Wed Jun 01, 2016 10:32 pm

Re: Wish Add Betadisk Syntax

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!

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.