Jump to content
arcadeshopper

call load reference

Recommended Posts

I know i have this somewhere but can't find it easily.

 

anyone have a sheet of all the useful call loads?  I particularly need the disable/renable the quit key one.

Share this post


Link to post
Share on other sites

here you go :)

 

--------------------------------------------------------------------------------
XBASIC LOADS W/EXPMEM
--------------------------------------------------------------------------------
  CALL LOAD(-31806,16)....... DISABLE QUIT KEY
  CALL LOAD(-31806,64)....... KILL SPRITES
  CALL LOAD(-31806,32)....... DISABLE AUTO SOUND PROCESSING
  CALL LOAD(-31806,128)...... DISABLE FCTN QUIT,SOUND,AND SPRITES
  CALL LOAD(-31806,0)........ RESTORE ALL OF THE ABOVE
 
  CALL LOAD(-31931,0)........ REMOVES XBASIC PROTECTION
  CALL LOAD(-31931,128)...... RESTORE XBASIC PROTECTION
 
  CALL LOAD(-32699,0)........ REMOVES XBASIC PROTECTION
  CALL LOAD(-32699,128)...... RESTORE XBASIC PROTECTION
--------------------------------------------------------------------------------
SIZE COMMAND FOR BASIC W/EDITOR-ASSEMBLER.
--------------------------------------------------------------------------------
  CALL INIT
  CALL PEEK(-31974,A,B)
  PRINT A*256+B-1776 (1776 OVERHEAD IN BASIC).
--------------------------------------------------------------------------------
CALL FILES(0) COMMAND FOR BASIC W/ E/A , MINIMEM  OR XBASIC
--------------------------------------------------------------------------------
  CALL LOAD(-31888,63,255)... THEN....  NEW         (OR EDIT MODE IN XBASIC) .
  CALL LOAD(-31888,55)....... THEN....  NEW OR RUN  (RESTORE DRIVES)
--------------------------------------------------------------------------------
CHECK FOR "SPEECH SYNTHESIZER"
--------------------------------------------------------------------------------
  CALL PEEK(-28672,A)...........
 
  Variable A returns a value of 255 or 96 Speech Synthesizer Attached
                                127 or  0 Speech Synthesizer Not Attached
--------------------------------------------------------------------------------
CALL QUIT FROM PROGRAM
--------------------------------------------------------------------------------
  CALL LOAD(-32630,128)...... Return to Title Screen (Graphics Not Restored)
                              1 for basic or 2 for XB as per normal.
  CALL LOAD(-31961,149)...... FOLLOWED BY "END" (MAYBE)
                              Same as above Except (Will Look for and Run
                              A Program called "LOAD" ELSE RETURN TO XBASIC
  CALL LOAD(-31961,51)....... FOLLOWED BY "END"
                              Return to Title Screen (Graphics Restored)
--------------------------------------------------------------------------------
SET SPRITES FOR FASTER PROGRAM?
--------------------------------------------------------------------------------
  CALL LOAD(-31878,X)........ X=Highest number of Sprites in use. FASTER?.
                              X=0 No Sprites are to be Used.
--------------------------------------------------------------------------------
ODD EFFECTS
--------------------------------------------------------------------------------
  CALL LOAD(-32572,1)........ Produces "MUSHY" Keyboard W/Improper char's
  CALL LOAD(-32572,128)...... Disables KEYBOARD COMPLETLY
  CALL LOAD(-31745,0)........ Frozen screen, Blanks Screen after a few seconds.
                              Restore : Title screen by pressing (FCTN -)
......................


 

  • Like 3

Share this post


Link to post
Share on other sites

My favorite one is missing: 83C4 = -31804

 

This is the interrupt hook. You can instantly start a machine language program this way without using the DEF table. You should clear 83C4 as the first action.

  • Like 1

Share this post


Link to post
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.

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...