Great, though i would have hoped just one reply from this forum thread just to say it didn't work, then i'd have fixed it soon enough.Dbug wrote:Actually I fixed it, just that for some reason it crashed in Oricutron 0.6
Working fine in Euphoric
Excellent idea, will do :pDbug wrote:Twilighte: I suggest that you make an Atmos/Oric 1 compatible version by using the values stored in FFFE/FFFF to find the location of the irq handler. You can just use the room you used for the hidden text messages
Well actually all i did was in the #defines at the start of stormlord source i have..Dbug wrote:I compared the two version with a diff program, and you changed the two values at the offset 6839 and 683E from 45/46 to 29/29.
Code: Select all
#define SYS_IRQVECTOR $0229 ;0245 for Atmos
In IM the other day i found i had to replace a word in quotes with its ascii values because the same word was used as a #define at the start and it compiled replacing the word in quotes with the #define value grrrr.
Anyway going back to Stormlord, the code then does this.. or at least should do this..
Code: Select all
lda #<IRQDriver
sta SYS_IRQVECTOR
lda #>IRQDriver
sta SYS_IRQVECTOR+1