Space 1999 - players area

Want to talks about games you like, would like to see developed on the Oric, it's here.
User avatar
Chema
Game master
Posts: 3019
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Post by Chema »

I just noticed something... In the above code it says:

Code: Select all

     ;Note that the write to the column register cannot simply be permanent 
        ;(Which would reduce amount of code) because some orics freeze(crash). 
But I can't see a point where the register is cleared, or whatever needs to be done, to make the write not permanent... Missing something here?

I was just guessing that maybe, in Space:1999, as the IRQ also runs sfx and music, this was done in another routine... somehow...

Twilighte!! We need your help here!!! :)
User avatar
Symoon
Archivist
Posts: 2310
Joined: Sat Jan 14, 2006 12:44 am
Location: Paris, France

Post by Symoon »

Chema, I tested your new code.
Worked perfectly !
All keys reponded, even down to 3 cycles wait.
Pressing ESC gave then no result, I couldn't try with 1 cycle ;-)
User avatar
Chema
Game master
Posts: 3019
Joined: Tue Jan 17, 2006 10:55 am
Location: Gijón, SPAIN
Contact:

Post by Chema »

:shock: That is completely unexpected... I swear I just subsituted the ldy/dey/bne for the jmp over nops...

When you hit 3, you cannot save more cycles, as the jmp itself takes 3 cycles... but now I wonder how far we could go...

(will check I did not make any mistake and result in waiting all the time 19 cycles)

Maybe prepare yet another couple of programs one with one nop and the other with no nops :)

No, seriously, I am sure that 2 nops were not enough in Fabrice's hardware, and 4 were, so we in 8 cycles to be compliant to both tests...

Please, anybody else who can try, do so...
Post Reply