Contents of Quadrillion for VBXE source package - files needed to perform Assembly . "Quad27.src" - source code (use AtAsm 1.8) for the game. Most of the game program is contained here. Note that this is adapted from an existing Commodore Plus/4 game and not built by me from the ground up. Initial goal was to have it all nicely documented, but doing that just slows the programming down too much. So, what's in there is what you get. Much original code stripped out (esp music), most of the code I wrote is lowercase, most of the original should still be in upper case. . "Quadload4.src" - source code for loader (AtAsm 1.8). Not really a loader, but just initialisation stuff that checks for VBXE, sets up the pointer depending on D6 or D7 install, and a whole bunch of other stuff: Copy the Atari ROM Charset into VRAM. 2 copies are made, original and one with the bottom 4 bytes of each character shifted a single pixel to the left for "italics". Copy the Instruction text and scroller text into VRAM. This module bloated and evolved and isn't exacltly tidy. It changes the VBXE banking arrangements something like 3 or 4 times. But it gets the job done and is vital for the game to work. Also contains the run code that's executed when loading completes. This sets up the final environment and runs the game. . "quad_blits.src" - Assembled as part of Quad26.src module via .include. All of the BCBs used for blits by the game are in here, plus a little bit of other data. Most blits are simply run in sequence triggered by the Immediate VBlank routine. But requirements changed as the game evolved, so some are also run by the main loop code. If I was to do this all over again I think I'd just use a high/low priority dual circular queue serviced by IRQs, much tidier. . "quad_leveldata.src" - Assembled as part of Quad26.src via .include. Data used for the construction of levels is contained here. I've seperated this part of the module as much as possible from the main game code - one objective is for possible future "Level Editor" program. . "Quadg1.dat, Quadg2.dat" - Assembled as part of Quadload4.src via .incbin. These are just binary dumps of a narrow-mode Antic Mode F rendition of the "Quadrillion" game logo which is at the top of the game display. The loader generates the game logo based on these. Having them as 2 bitplanes saves a few K, plus gives the versatility of generating different textures. Quadg1 is the outline, Quadg2 represents pixels that have texture applied. . "qplay.obj" - RMT Player module needed by the game . "quad1.rmt" - RMT song/instrument data for the game. . "Zbuild.bat" - Batch file required to build the game executable. This simply joins files together: quadload4.65o + qplay.obj + quad1.rmt + quad27.65o to give the final game executable. This allows seperate changes to be made to the loader, music and game components without having to compile the others. Running the "Build.bat" file with the included objects should produce an identical file to the "Quadrili.xex" executable file.