Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/asm/elmer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ This directory contains a number of example programs and utilities for developin
* rom-bare-buftest
- A HuCARD ROM to compare a PC Engine emulator's buffered VDC reading with real PC Engine console hardware.

* rom-bare-clktest
- A HuCARD ROM to compare a PC Engine emulator's ADPCM playback rate with real PC Engine console hardware.

* rom-bare-dmatest
- A HuCARD ROM to compare a PC Engine emulator's VDC SATB-DMA and VRAM-DMA timing with real PC Engine console hardware.

Expand Down
2 changes: 2 additions & 0 deletions examples/asm/elmer/include/bare-startup.asm
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ bare_hw_reset: sei ; Disable interrupts.
lda #$F8
tam1

stz IFU_IRQ_MSK ; Disable IFU interrupts.

stz TIMER_CR ; HW reset already does these,
stz IRQ_ACK ; but this may be a reset from
stz IRQ_MSK ; software (i.e. joypad).
Expand Down
11 changes: 11 additions & 0 deletions examples/asm/elmer/rom-bare-clktest/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
all: clktest.pce

include ../Make_ex.inc

AFLAGS ?= --newproc --strip -m -l 2 -S -gA

SRC_INC = pceas.inc pcengine.inc joypad.asm tty.asm vce.asm vdc.asm
SRC_OVL = clktest.asm

clktest.pce: $(SRC_OVL) $(SRC_INC)
$(AS) $(AFLAGS) --raw clktest.asm
Loading
Loading