1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-02 12:41:30 +00:00

update presets

This commit is contained in:
Steven Hugg 2019-07-13 14:31:10 -04:00
parent 25a9c16704
commit 00057c6018
5 changed files with 10 additions and 7 deletions

View File

@ -17,6 +17,7 @@ TODO:
- step over (line, instruction) - step over (line, instruction)
- slowdown beam for all platforms? - slowdown beam for all platforms?
- PC x86 support - PC x86 support
- https://bellard.org/tcc/
- show errors in list (maybe window list?) - show errors in list (maybe window list?)
- click to go to error - click to go to error
- what if error in include file you can't edit b/c it never appears? - what if error in include file you can't edit b/c it never appears?
@ -130,6 +131,7 @@ TODO:
- PPU/TIA register write visualization - PPU/TIA register write visualization
- NES crt should mark raster pos when debugging - NES crt should mark raster pos when debugging
- vcs - vcs
- need Chapter 8 example?
- vcs sound continues when paused - vcs sound continues when paused
- vcs: INPTx needs to be added to control state - vcs: INPTx needs to be added to control state
- vcs: break on # of lines changed (maybe using getRasterPosition?) - vcs: break on # of lines changed (maybe using getRasterPosition?)
@ -162,6 +164,7 @@ TODO:
- cookie - cookie
- list of stuff for policy - list of stuff for policy
- popup - popup
- convert binary to hex stmts
WEB WORKER FORMAT WEB WORKER FORMAT

View File

@ -26,9 +26,9 @@ Start:
lda #$1c ; $1C = light blue color lda #$1c ; $1C = light blue color
sta PPU_DATA ; $1C -> PPU data sta PPU_DATA ; $1C -> PPU data
; activate PPU graphics ; activate PPU graphics
lda #MASK_COLOR lda #MASK_BG ; A = $08
sta PPU_MASK ; enable rendering sta PPU_MASK ; enable rendering
lda #CTRL_NMI lda #CTRL_NMI ; A = $80
sta PPU_CTRL ; enable NMI sta PPU_CTRL ; enable NMI
.endless .endless
jmp .endless ; endless loop jmp .endless ; endless loop

View File

@ -156,9 +156,6 @@ void main(void) {
oam_clear(); oam_clear();
oam_spr(1, 30, 0xa0, 0, 0); oam_spr(1, 30, 0xa0, 0, 0);
// clip left 8 pixels of screen
ppu_mask(MASK_SPR|MASK_BG);
// clear vram buffer // clear vram buffer
vrambuf_clear(); vrambuf_clear();
set_vram_update(updbuf); set_vram_update(updbuf);

View File

@ -767,10 +767,10 @@ void setup_graphics() {
word dest; word dest;
// copy background // copy background
vram_adr(0x0); vram_adr(0x0);
vram_write((unsigned char*)TILESET, sizeof(TILESET)); vram_write(TILESET, sizeof(TILESET));
// copy sprites // copy sprites
vram_adr(0x1000); vram_adr(0x1000);
vram_write((unsigned char*)TILESET, sizeof(TILESET)); vram_write(TILESET, sizeof(TILESET));
// write shifted versions of formation ships // write shifted versions of formation ships
src = SSRC_FORM1*16; src = SSRC_FORM1*16;
dest = SDST_FORM1*16; dest = SDST_FORM1*16;

View File

@ -39,6 +39,9 @@ ship1.pbm: ship1.png
%.prom: %.prom:
cat $* | hexdump -v -e '" \n defb " 32/1 "$$%02x,"' | cut -c 2-134 cat $* | hexdump -v -e '" \n defb " 32/1 "$$%02x,"' | cut -c 2-134
%.s:
cat $* | hexdump -v -e '" \n .byte " 32/1 "$$%02x,"' | cut -c 2-135
%.rot.pbm: %.pbm %.rot.pbm: %.pbm
convert $< -transpose -bordercolor white -border 4x4 $@ convert $< -transpose -bordercolor white -border 4x4 $@