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)
- slowdown beam for all platforms?
- PC x86 support
- https://bellard.org/tcc/
- show errors in list (maybe window list?)
- click to go to error
- 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
- NES crt should mark raster pos when debugging
- vcs
- need Chapter 8 example?
- vcs sound continues when paused
- vcs: INPTx needs to be added to control state
- vcs: break on # of lines changed (maybe using getRasterPosition?)
@ -162,6 +164,7 @@ TODO:
- cookie
- list of stuff for policy
- popup
- convert binary to hex stmts
WEB WORKER FORMAT

View File

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

View File

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

View File

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

View File

@ -39,6 +39,9 @@ ship1.pbm: ship1.png
%.prom:
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
convert $< -transpose -bordercolor white -border 4x4 $@