NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectAnd watch programs fail  
Posted bytepples
Posted on1/9/04 01:27 AM
From IP68.53.188.31  



"see i could just have it do special work with only the STA and LDA commands, and whenever any other command affects those registers the values would fall through or do unpredictable things on read-only registers, and i think thats what should happen, right? then i would only be ignoring writes to the registers using any other opcode then STA"
A lot of programs would fail to work in such a situation. At least my programs would fail. My engines tend to do a lot of LDX, LDY, BIT, STX, and STY on the I/O registers so that I don't have to use as many local variables on zero page. Some programs even do R/M/W instructions (INC, DEC, ASL, LSR, ROL, ROR) on I/O registers in their copy protection attestation code.



-
Entire Thread
Subject  Posted byPosted On
*Opcodes that can be used to Read/Write to Registers  RedKnight1/8/04 07:53 AM
.*Re: Opcodes that can be used to Read/Write to Registers  RedKnight1/15/04 06:24 AM
..*Re: Opcodes that can be used to Read/Write to Registers  blargg1/15/04 6:43 PM
...*Re: Opcodes that can be used to Read/Write to Registers  RedKnight1/15/04 9:18 PM
....*Re: Opcodes that can be used to Read/Write to Registers  tepples1/15/04 10:24 PM
..*Re: Opcodes that can be used to Read/Write to Registers  tepples1/15/04 3:37 PM
.*Re: Opcodes that can be used to Read/Write to Registers  Memblers1/8/04 08:20 AM
..*Re: Opcodes that can be used to Read/Write to Registers  RedKnight1/8/04 08:42 AM
...*Re: Opcodes that can be used to Read/Write to Registers  Memblers1/8/04 09:10 AM
....*Re: Opcodes that can be used to Read/Write to Registers  tepples1/9/04 01:29 AM
....*Re: Opcodes that can be used to Read/Write to Registers  RedKnight1/8/04 09:17 AM
......And watch programs fail  tepples1/9/04 01:27 AM
.....*Re: Opcodes that can be used to Read/Write to Registers  blargg1/8/04 4:40 PM
.....*Re: Opcodes that can be used to Read/Write to Registers  Memblers1/8/04 09:43 AM
......*Re: Opcodes that can be used to Read/Write to Registers  tepples1/9/04 01:34 AM
.......*Re: Opcodes that can be used to Read/Write to Registers  RedKnight1/12/04 07:53 AM
........*Re: Opcodes that can be used to Read/Write to Registers  tepples1/12/04 4:47 PM
.........*Re: Opcodes that can be used to Read/Write to Registers  workingclass771/12/04 5:34 PM
..........*Re: Opcodes that can be used to Read/Write to Registers  quietust1/12/04 11:07 PM
..*Re: Opcodes that can be used to Read/Write to Registers  Memblers1/8/04 08:32 AM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo