Jump to content
IGNORED

Altirra xtra BASIC functions


ac.tomo

Recommended Posts

I was tinkering about with Altirra the other day altering the ROM BASIC to a RAM one and when I was listing all of its BASIC commands and functions I discovered some more that I've never seen before (even in TURBO-BASIC). I checked out the HELP section but did not see these extra commands explained anywhere, please if anyone can help I'm looking for the correct syntax as to how to use these newly discovered statements:

 

There's disk functions that I'm fine with such as: STATUS, BPUT, BGET, ERASE, PROTECT, UNPROTECT, DIR, RENAME

Others that I'm fine with are: MOVE, IF/ELSE/ENDIF, DPOKE, DPEEK, CP, HEX$, ERR, COM

The ones I'm not sure how to use are: LOMEM, PMGRAPHICS, PMMOVE, VSTICK, HSTICK, PMADR

 

I imagine LOMEM acts just like a normal variable and sets the lower end of the DL and DM, but I'm not sure of the syntax of the other PMG ones.

Link to comment
Share on other sites

  • 5 months later...

Altirra basic needs the move, bget, bput, poke, peek, dpeek, dpoke to support bank switching like Basic XE.    Basic XE added an extra parameter the specifies the extended memory bank.   This would eliminate the need for special extra bank routines required taking up your program space.   Looks like Altirra has captured almost all of Basic XE style commands except for these... which I think is really important... 

 

Basic XE has a mode called "extend" that allowed those functions to work with the extra 64K in 130XE... but Altirra could be smart enough to not need command and be able to access all compy/rambo memory for the emulator or real hardware like the NUC+ or other hardware mods.   I think Altirra should still support the "extend" command as an option because the extend in basic XE moved all of the program into the extended ram freeing the other main 32K up for whatever.  This allowed you to wright a huge basic program filling up the extended banks bottom up, anything you didn't use could be used for data.   It was quite brilliant by OSS an elegant.       

 

*** I REPOSTED IN the ALTIRRA 4.0 Released THREAD to be in a better place ***

Edited by rsh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...