Commit Graph

82 Commits

Author SHA1 Message Date
dwsJason
78e5ff4305 game.c: commit the hacky fix for the sprites glitching on a screen transition 2018-11-24 17:18:25 -05:00
dwsJason
b78e3f1e5f import: mraudio.s, Mr Audio library 2018-11-24 17:17:46 -05:00
dwsJason
9ef6f855f9 ntp: test code in-place, NTP is actually playing the samerica song 2018-11-24 16:48:15 -05:00
dwsJason
c800d4095d ntpplayer: I can't get ORCA linker to link with this merlin obj file, so change the NTP player to be compressed data 2018-11-24 13:47:13 -05:00
dwsJason
2363993119 data build: compress the ntp songs, and the audio sfx bank in lz4, and allow them to be linked into the game 2018-11-23 22:55:44 -05:00
dwsJason
8f96c222db data.bat: update to include the NTP songs into the executable 2018-11-23 16:02:30 -05:00
dwsJason
4f976267a7 import: NinjaTracker Pro songs used in the game 2018-11-23 15:44:06 -05:00
dwsJason
43340e041b ntpplayer updates: seems to link now that I put the ORG back in :-/ 2018-11-23 15:39:53 -05:00
dwsJason
5e61c1830b import: ninjatrackerplus player, assembled by merlin32 2018-11-23 10:20:55 -05:00
dwsJason
57b1abb539 ADB - update the add/remove to disable interrupt while doing their job. Seeing some weird issues on real hardware. 2018-11-21 19:20:29 -05:00
dwsJason
7e5a7a985d Set GAME_PERIOD to 64, to try and keep framerate at 15 2018-09-24 19:30:54 -04:00
dwsJason
6f6d7c08e1 draw_tileSubList: convert to assembly to speed things up 2018-09-24 19:29:41 -04:00
dwsJason
09b04a798e scroller: optimize scroller, pass one, remove multiplies from array indexes, remove redundant draws, and reduce the size of the blit rect to the actual size of the playfield 2018-09-23 21:11:56 -04:00
dwsJason
59a8a34912 draw_map: converted to assembly to speed it up 2018-09-23 19:49:38 -04:00
dwsJason
ffea5013d0 ASM: draw_tile conversion 2018-09-23 18:06:18 -04:00
dwsJason
ff4bd68c0b Optimize, pass entity pointer around instead of index, this avoids expensive multiplies to index into the entity array 2018-09-20 19:57:09 -04:00
dwsJason
4966075052 ents.c, fix back to Apple Line Feeds 2018-09-19 21:26:28 -04:00
dwsJason
be72cb1705 ent_draw: remove all those multiplies, ORCA uses a multiply to index into an array of structures, ent_ents[i] accesses keep doing multiplies. Recode to use a pointer (something a more modern compiler would just do under the hood) 2018-09-19 21:10:26 -04:00
dwsJason
760db6899c Dump out load segment addresses to 0x011000 for the profiler, so it can match up the symbols with the trace data 2018-09-07 20:11:49 -04:00
dwsJason
011e235517 Nudge Sprites over 1 pixel to the left, to get them secret bricks to line up proper with the background, and fix the sprite erase. It would be nice to know why we have to do this, but perhaps it's something to do with Mr. Sprite 2018-09-02 19:50:32 -04:00
dwsJason
ad2b367a78 Adjust game period for the IIGS where we're counting 960 ticks per second from the system timer, instead o1000 (now game speed matches PC) 2018-09-02 19:49:19 -04:00
dwsJason
70e3d25f1b Change rendering so shadowing is turned off, and what you see runs through present 2018-09-02 17:39:49 -04:00
dwsJason
f8fca3627c Adjust gameplay colors, so that the screen can be faded / in out, by changing the SCBS 2018-09-02 11:56:49 -04:00
dwsJason
f6ea147ed4 fix numerical issues with enemy movement 2018-09-01 16:43:32 -04:00
dwsJason
811810ddfd Fix some of the rick number issused by changing the type of offsx to S16, fix it so when cheats are disabled, that you don't have unlimited ammo and bombs 2018-09-01 16:42:53 -04:00
dwsJason
18a1069e8d Fix sprite clipping issues 2018-09-01 16:41:30 -04:00
dwsJason
21e3c2cd54 bullet fix issue where bullet only worked on the left side of the screen 2018-09-01 16:40:29 -04:00
dwsJason
197f2854d0 present updates 2018-09-01 15:03:23 -04:00
dwsJason
86aa76b8c5 Fix issue boulder not properly chasing me, more sign extension stuff 2018-09-01 14:07:10 -04:00
dwsJason
240fd414f9 Fix the boulder spawn, due to weird ORCA sign extension 2018-09-01 13:48:19 -04:00
dwsJason
9dd2c1874b blit: add shadow, and aux bank flipping code to the simple framebuffer pei blitter 2018-09-01 10:16:04 -04:00
dwsJason
b36cab1c12 blit.s: more routines for full screen image presents, SCBs, and palettes. import a macros file, to try and get ORCA lup to work 2018-08-31 23:24:12 -04:00
dwsJason
4721fc2336 blit.s: first stab at the rectangle blit dispatcher 2018-08-30 23:04:01 -04:00
dwsJason
a8545fcd05 blit updates for backbuffer present 2018-08-29 22:30:55 -04:00
dwsJason
68367599f4 A perhaps more cycle friendly pei blitter 2018-08-28 22:08:57 -04:00
dwsJason
8c6b911c6e blit.c: better PEI blitter, get rid of TSC and TDC instructions (track A and C states, so we can just adc #immediate when we need to adjust the DP or S register), instead of RTS, use jmp #immediate to return 2018-08-25 22:59:42 -04:00
dwsJason
7ad65f0f9c import: blit code generator (WIP) pei code-gen can be optmized more 2018-08-22 22:58:36 -04:00
dwsJason
0f4346d382 Sprites: reprocess, to fix the color indexes to match the palette 2018-08-19 21:00:33 -04:00
dwsJason
753ba38ce6 Sprites somewhat working, colors are wrong, issues around clipping 2018-08-19 17:14:35 -04:00
dwsJason
c00d2c1360 DrawSprite: modify ASM function, to be called from ORCA C 2018-08-19 16:11:13 -04:00
dwsJason
0c2f9bb0c5 More GFXST also defined for GFXGS 2018-08-19 16:10:35 -04:00
dwsJason
df4fa20878 Allocate memory, and decompress sprites 2018-08-19 15:29:03 -04:00
dwsJason
d995117635 data: move data into separate load segments to avoid linker errors 2018-08-19 15:28:09 -04:00
dwsJason
a480f0b8c7 import: Mr. Sprite Compiled Sprites 2018-08-19 14:17:32 -04:00
dwsJason
e457f3c65d map draw: fix the map draw, support tile banking 2018-08-19 13:45:57 -04:00
dwsJason
ef0b85ca23 basic keyboard input, mapping to ingame controls 2018-08-19 13:26:04 -04:00
dwsJason
4fb0041a70 introMain: get rid of printf spam 2018-08-19 13:24:58 -04:00
dwsJason
19ff6fd594 Game Over: now working 2018-08-19 13:24:21 -04:00
dwsJason
83ad296ea3 adb.s: keep events from messing up neighbor keys in the array 2018-08-19 13:23:42 -04:00
dwsJason
1b2f2d3eff Install ADB keyboard driver 2018-08-18 21:28:14 -04:00