From: Keates, Mark (Mark.Keates_at_dendrite.com)
Date: 2003-08-29 13:26:30
Thanks Uz, > If you are using an emulator, and this emulator allows write > protecting memory areas (VICE allows this for example), Me line of question comes from cartridge development. The newer Atari carts can be completely switched out. So a scenario during ROM initialisation may go, Copy relocated copy routines to RAM. Call routine to copy a bank within the ROM to RAM1. Switch out ROM Call routine to copy to write RAM1 to RAM2 under ROM. Switch in ROM. resume processing. In the cfg, I would declare two memory areas for the same physical memory and an additional segment DATA1 for RAM1, i.e ROM will contain CODE and RODATA. This way, the linker would know that the STA to DATA1 is OK, but a STA in CODE or RODATA would give a warning. A new question arises, if I wrote: .segment "DATA1" MyData: .rodata MyReadOnly: Are the labels associated with the segment? i.e. if RODATA and DATA1 have the same base then would checks on STA MyData and STA MyReadOnly be resolvable by the proposed check? Regards, Mark ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-08-29 14:23:03 CEST