Wouldn't it be a tad safer to declare:
GRP0 = $1B
Rather than ...
GRP0 ds 1
Posted Sun Dec 23, 2007 10:39 PM
GRP0 = $1B
GRP0 ds 1
Posted Tue Jan 1, 2008 1:08 AM
Posted Tue Jan 1, 2008 1:38 AM
Devin, on Sun Dec 23, 2007 11:39 PM, said:
GRP0 = $1B
GRP0 ds 1
TIA_BASE_ADDRESS = $40; or $0040 include "vcs.h"That will cause the TIA registers to be defined from $0040 through $006C, so you can read from and write to the TIA registers without triggering any unwanted bank switches. You can also declare the TIA_BASE_READ_ADDRESS and the TIA_BASE_WRITE_ADDRESS separately, since they're mirrored differently-- for example, you could do the following:
TIA_BASE_WRITE_ADDRESS = $40; or $0040 TIA_BASE_READ_ADDRESS = $70; or $0070 include "vcs.h"Michael
Posted Tue Jan 1, 2008 7:37 AM
SeaGtGruff, on Mon Dec 31, 2007 11:38 PM, said:
TIA_BASE_ADDRESS = $40; or $0040 include "vcs.h"...
Edited by Devin, Tue Jan 1, 2008 7:39 AM.
Posted Fri Jan 18, 2008 12:43 AM
Devin, on Tue Jan 1, 2008 7:37 AM, said:
Posted Fri Jan 18, 2008 12:59 AM
supercat, on Fri Jan 18, 2008 1:43 AM, said:
0 members, 0 guests, 0 anonymous users