Use this forum to submit new files for the download section of the archive. I will check each submission and upload it to the archive on a regular basis.
The flying brick with a deathwish (my best score is a lowly eight) doesn't like it when a DASM/DEMON cartridge is inserted in the computer. I've verified this on real hardware, as well as with XRoar, so I'm wondering if Flagon Bird uses any of the addresses between $600 and $900, as this is the address space used and/or reserved by DEMON.
Alastair wrote:I'm wondering if Flagon Bird uses any of the addresses between $600 and $900, as this is the address space used and/or reserved by DEMON
Yes, $600 is the base address of the screen. I can move it if you'd like?
For some reason (bug?) DEMON always sets bit 2 of $FF03 (IRQ on LO to HI instead of the default IRQ on HI to LO) when the computer is first switched on or cold reset. Enter POKE65283,PEEK(65283)AND253 to clear bit 2 before EXECing the game.
zephyr wrote:For some reason (bug?) DEMON always sets bit 2 of $FF03 (IRQ on LO to HI instead of the default IRQ on HI to LO) when the computer is first switched on or cold reset. Enter POKE65283,PEEK(65283)AND253 to clear bit 2 before EXECing the game.
Thanks, this works. If it is a bug did Compusense ever correct it? (The release version I have is 1.1.6, does a later version of DEMON exist?)
Alastair wrote:If it is a bug did Compusense ever correct it?
I don't know, but it can easily corrected by changing the value at $C042 from 3 to 1.
@Bosco: Adding the following code to the start of your game will prevent these problems by making sure that that the hardware is always correctly set up and IRQ enabled. It will also restart the game if the reset button is pressed.
LDD #$557E * Default EXEC address
LDX #RESET
STA <$71
STX <$72
LDX #FIRQ
STB $010F
STX $0110
JMP [$FFFE]
FIRQ PSHS A
LDA $FF23
ANDA #$FE
STA $FF23
LDA $FF22
PULS A
RTI
RESET NOP
ORCC #$50
LDS #$02D8 * Cartridge ROM entry address
LDA $FF03
ORA #$01
STA $FF03
ANDCC #$EF
@Robcfg and Rolo: If Bosco decides to use this code, your routine should jump to the "Cartridge ROM entry address" when converting the game to run from cartridge.
Last edited by zephyr on Tue Jul 08, 2014 9:32 am, edited 9 times in total.