My primary motivation was to see if a could make some routines near as fast as the "theoretical" limits to move memory in a 6502, using pre compiled sprites, unrolled code and some clever optimizations (see the code and the "technical doc" for more details).
Obviously, the methods are optimized for speed, and normally use a lot of memory, but this is fine with me because I'm not trying to put them on a catridge
I choosed gr.7 with a narrow field (32 bytes of width) because you can still make sprites that look good for games (like with zybex or draconus), and also because you get more machine cycles per frame than in other modes (23024 to be "very" exact, assuming that the players are activated), and for fast moving objects you don't notice the loss in resolution too much.
I worked in NTSC primarily (you have many more cycles per frame in PAL, but the transition is easier from NTSC to PAL.. anyway maybe I should just program for PAL). You can see how many of the frame is free, holding down any of the CONSOL keys (START, OPTION or SELECT) in any of the demos (the lower part between the two lines is the "free" part).
All is programmer's art made by me, and I don't added colors by any normal method (like P/M's or DLI's) because I was concentrated in the programming techniques, so don't criticize the "art"
All demos run at 60 frames per seconds, and some of them still have room for more sprites (you can think of that as time for the game logic and the music code, specially in PAL).. I was too lazy to do something more complicated than sinus tables for the movements, sorry for that
All the code is included, you must compile it with the MADS assembler, or just move the .obx executables over the emulator.. (select the NTSC option in "Video System" the first time, to see them at my "intended" speed).
I'm still playing with the code and there is still room for improvement, so maybe I will post an update in some days.
Greetings to the Atariware forum, all AtariAge and the people in the "8-bit Computer Poll" post, in the Retro Gamer forum (most of them)
NRV
soft_sprites.zip 121.72K
198 downloads














