Commit Graph

66 Commits

Author SHA1 Message Date
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
dwsJason
debde24b60 Force ADB stuff into the same bank, and fix unbalanced stack issue in SRQ handler 2018-08-18 21:27:42 -04:00
dwsJason
19dfb38262 Fixes for the Hall of Fame, Direct Export the Xrick Splash into a C1 so that B2S doesn't screw up the palette, now we can see the the compiled tiles render 2018-08-18 20:05:59 -04:00
dwsJason
5ecc2034c8 import: add compiled in tile data, patch in a way to call it 2018-08-17 23:34:35 -04:00
dwsJason
05c91aba6b import: hall of fame graphic for the hall-of-fame page 2018-08-17 21:47:15 -04:00
dwsJason
10b4d20370 Fix GS Specific Crashes due to type size differences, intro / high score sequence plays, high score screen is blank, but at least it doesn't crash. 2018-08-17 21:29:31 -04:00
dwsJason
ea2a67e2d3 tile bank: help me build the jump table 2018-08-16 22:02:03 -04:00
dwsJason
54eae24600 import: Mr Sprite hacked up for the sprites in this project 2018-08-16 21:36:49 -04:00
dwsJason
8ef6e58210 xrick2spr: update this tool, so it can compile the 8x8 tile data (beats mr sprite, by eliminating the 70 clocks of overhead that each Mr. Sprite has), also doesn't require disabling interrupts or doing weird things with mapping of the dpage or stack 2018-08-16 21:25:29 -04:00
dwsJason
82407c7dfa xrick2png: export all 3 tiles banks, add support to export tiles in a format that mr sprite will like 2018-08-16 21:23:39 -04:00
dwsJason
f9354e1e4f import: xrick2spr sprite compiler 2018-08-11 18:58:54 -04:00
dwsJason
106005b403 import: xrick2png, data extraction tool 2018-08-11 16:51:30 -04:00
dwsJason
63b44a2eca Error checking on the toolsset startup 2018-08-11 16:48:53 -04:00
dwsJason
a5d5369b47 prototype's for adb.s assembly files 2018-08-11 16:48:13 -04:00
dwsJason
3ce937cae1 ADB Toolset Startup 2018-08-11 11:04:36 -04:00
dwsJason
e07497473d import: adb keyboard driver 2018-08-11 10:59:54 -04:00
dwsJason
1c91c3903c Activate HeartBeat, and setup a pointer to the system Tick, for a 60hz tick timer 2018-08-06 22:19:15 -04:00