insn_ld_sp_hl.v insn_pop_reg.v insn_rst.v System.v CPUDCM.v \
insn_alu_a.v insn_halt.v insn_jp-jpcc.v insn_ld_hl_reg.v \
insn_ld_reg_imm8.v insn_ldx_ahl.v insn_push_reg.v insn_vop_intr.v \
- Timer.v LCDC.v insn_ldm_a.v Framebuffer.v
+ Timer.v LCDC.v insn_ldm8_a.v insn_ldm16_a.v Framebuffer.v
all: CoreTop_rom.svf CoreTop_diag.svf CoreTop.twr
%.o: %.asm
rgbasm -o$@ $<
-%.bin: %.o rom.lnk
+%.bin: %.o
echo "[Objects]" > tmp.lnk
echo $< >> tmp.lnk
echo "" >> tmp.lnk
xlink tmp.lnk
rm tmp.lnk
-%.mem: %.bin
+%.mem: %.bin mashrom
./mashrom < $< > $@
CoreTop_%.bit: %.mem CoreTop.bit foo_bd.bmm