Saturday, June 21, 2025

TUTORIAL #25 – The full BASIC program

  

TUTORIAL #25 – The full BASIC program to run the ULTIMA1REV.OBJ0 assembly program.  This basic program will generate the map and let you move around it.

This basic program saved as ULTIMA.BAT is the main program to draw the full Map 1 and allow movement across the map with collision detection of map objects setup.  Plus it allows you to change the character image to the following objects and check their collision detection:

Key press #1 = Horse

Key press #2 = Ship

Key press #3 = Raft

Key press #4 = Cart

Key press #5 = Land Speeder

Key press #6 = Main fighter character

Character Movement of these object is through the arrow keys:  UP, DOWN, LEFT, and RIGHT

 

 ]LIST

This is just the basic command to list the entire program and see all the lines of code.  You can always just list portions of the code by typing LIST 1000-2000 or list from a code line and on such as LIST 3000-.  If you want to break the list while it is running just hit CTRL-C.

  

No comments:

Post a Comment