Commit Graph

83 Commits

Author SHA1 Message Date
Rob McMullen 9abfdff8c7 Initial code fork to new repository from Quinn's HiSprite 2017-07-17 10:59:00 -07:00
Rob McMullen 827b808e4f Added merge for raw HGR screen data 2017-07-17 06:33:47 -07:00
Rob McMullen 754b0e60c8 Added title screen image conversion 2017-07-15 23:54:00 -07:00
Rob McMullen 71e57e7433 Removed debug background stuff (unnecessary now that lots more is working) 2017-07-09 21:19:06 -07:00
Rob McMullen ee9d4e1efb Added wipe 2017-07-09 20:00:59 -07:00
Rob McMullen 39057dc2c7 Added makefile target that includes title screens 2017-07-07 12:24:25 -07:00
Rob McMullen aa8c033547 fatfont: fixed 0 and 1 for consistency 2017-07-06 22:22:33 -07:00
Rob McMullen 1dba5f5d67 Damage working!
* removed slow font drawing since I won't ever use it
2017-07-06 21:52:04 -07:00
Rob McMullen 053f631335 Keyboard control experiments 2017-07-06 11:05:29 -07:00
Rob McMullen da9236db0b Added printout of keypress 2017-07-06 07:16:51 -07:00
Rob McMullen 5d34f19fd6 Removed stuff from Quinn's demo that I'm not using 2017-07-05 22:25:43 -07:00
Rob McMullen 83b57cbf7a Added some keyboard debug checking & added debug flag for quicker startup 2017-07-05 22:20:49 -07:00
Rob McMullen 527cd2226c Since I now have an approved fork rather than contributing back to Quinn, changing to more PEP-8 python style
* changed some assembly variables and categorized them by address to hopefully make debugging easier
2017-07-05 12:50:22 -07:00
Rob McMullen e04491e324 Added comparison of fast draw and slow draw of fonts 2017-07-05 07:26:31 -07:00
Rob McMullen 25610af2b4 Added fast font demo 2017-07-04 13:36:36 -07:00
Rob McMullen 607c020e7e Added fast font routine using unrolled loops 2017-07-04 13:34:25 -07:00
Rob McMullen 95cd30c5ac Added damage option to supply to user the size of the sprite for background regeneration 2017-07-03 21:22:58 -07:00
Rob McMullen 41ce921322 Changed complicated push/pull to simple EOR to choose a page 2017-07-03 16:33:22 -07:00
Rob McMullen 22d12dc34f Fixed push/pull framework. Works on page1 2017-07-03 07:54:40 -07:00
Rob McMullen 89db8f6406 Optimization: don't have to inx in sprite code, can hardcode the increase in the array position 2017-07-02 21:54:04 -07:00
Rob McMullen d748e2b737 push/pull framework for drawing sprites to either page 2017-07-02 21:38:32 -07:00
Rob McMullen cf5c47e121 Color background test 2017-07-02 19:58:07 -07:00
Rob McMullen c3a9f1478c Added autogeneration of restorebg_init and restorebg_driver 2017-07-01 08:27:06 -07:00
Rob McMullen d7ed49b7c2 Added generated code for backing store save/restore 2017-06-30 22:58:42 -07:00
Rob McMullen 695f589d1b backingstore: mini optimization using smc instead of recomputing the column 2017-06-30 21:56:27 -07:00
Rob McMullen 9725c1bfd4 Ha! Figured out what the _smc suffix means... Self Modifying Code 2017-06-30 21:51:23 -07:00
Rob McMullen c7defdfa81 renderloop: use a round robin so all sprites get the same amount of flicker 2017-06-30 14:43:28 -07:00
Rob McMullen b817b9e1aa Made color selection in PNGs a little more forgiving 2017-06-30 14:13:42 -07:00
Rob McMullen 2704f6f9a4 Updated sample program to alternate between using the delay routine and going full speed 2017-06-30 13:02:47 -07:00
Rob McMullen 18101794b9 Added option to clobber registers in sprite code
* caller has to save what they need, but saves 26 cycles
2017-06-30 12:52:15 -07:00
Rob McMullen 6dfab0efb5 optimization to save the X mod value -- it's the same for every row 2017-06-30 12:33:27 -07:00
Rob McMullen b3a4a5b5b4 generateBlitter: restructured to use self.asm and optimization to remove trailing iny when at the end of a row 2017-06-30 12:32:31 -07:00
Rob McMullen 8951869372 Added multi-file generation in one step using a prefix
* changed testcase to use second type of sprite
* added hand-coded 3x8 backing store
2017-06-29 23:16:49 -07:00
Rob McMullen 6c794b855e Added direction flag instead of using signed bytes. This gets us to 255 horizontal positions for bw sprites 2017-06-29 12:39:29 -07:00
Rob McMullen b2842a1c39 Backing store driver and sample implementation for 3 byte * 11 row sprites 2017-06-29 11:48:25 -07:00
Rob McMullen 5d550a6ef0 HiSprite: fixed binary constant formatting
* MAC/65 does indeed do binary constants
2017-06-26 12:40:19 -07:00
Rob McMullen bb6dcae6fb Added sample disk image 2017-06-26 12:35:44 -07:00
Rob McMullen a4ba45872d Finally working demo of color & bw sprite 2017-06-26 12:32:55 -07:00
Rob McMullen 304d1269b3 Makefile: corrected generated file name & added to clean 2017-06-26 12:32:13 -07:00
Rob McMullen 483b0a5903 Fixed bw column lookup table. We're indexing into a table of addresses, so multiply by 2! 2017-06-26 05:48:52 -07:00
Rob McMullen d6666ff027 Fixed mask for bw sprites 2017-06-25 21:13:58 -07:00
Rob McMullen 4e2fb36ae2 WIP for multiple sprites 2017-06-25 08:29:10 -07:00
Rob McMullen 0b39577fac Added test image 2017-06-22 11:20:42 -07:00
Rob McMullen a2c37117dd Added simple movement for sprite 2017-06-22 11:17:31 -07:00
Rob McMullen a5d08f4284 Added mask and changed filler bit to match mask or sprite 2017-06-22 11:10:39 -07:00
Rob McMullen bb06a8bf65 Changed optimization that skips the byte write to be based on mask value
* if mask is empty, no pixels change, so no need to write that byte
2017-06-22 10:36:04 -07:00
Rob McMullen 2c4a951a27 Determine palette bit from first *non-black* pixel on the row 2017-06-22 10:27:58 -07:00
Rob McMullen a5907dc2e3 Simplified pixel color logic 2017-06-22 10:01:52 -07:00
Rob McMullen 9b9ebfcb0f Added -n argument to specify name of generated subroutine so I don't have to keep changing my test source when changing sprites 2017-06-22 09:39:40 -07:00
Rob McMullen 3fd63c71d4 Added separate makefile for my new tests 2017-06-22 06:24:39 -07:00