|
Atari coding BBS
Re: PC addressing mode |
Posted by: Mr. Styckx
|
Apr,19.2013-14:27
|
Hi,
first, I think it's 32kB, not 16kB.
If you use absolute address mode on .W 16 bit addresses, it will be expanded to a 32 bit address using bit 15 as bit 16-31.
This means you can't use address with bit 15=1, as it would be extended as $ffffxxxx (and would likeky point to some IO register).
You can use any address from 0 to 32767, assuming these addresses are free, which means you must stop all OS activity or start your program from the AUTO/ folder in such a way that you can expect a large part of the lowest 32k of ram to be free. There's no real rule to ensure you will have free ram in the lowest 32k.
Many demos do that for extra performance as they don't use the OS anymore. In your case, as you might need file access system calls, blindly overwriting all the lowest 32k could create crashed.
Nicolas
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
PC addressing mode
|
Sallafranque/Thadoss
|
Apr,15.2013-21:42
|
Re: PC addressing mode
|
ggn
|
Apr,15.2013-22:35
|
Re: PC addressing mode
|
Sallafranque/Thadoss
|
Apr,15.2013-22:46
|
Re: PC addressing mode
|
ggn
|
Apr,15.2013-23:10
|
Re: PC addressing mode
|
Sallafranque/Thadoss
|
Apr,15.2013-23:36
|
Re: PC addressing mode
|
Sallafranque/Thadoss
|
Apr,15.2013-23:07
|
Re: PC addressing mode
|
mikro
|
Apr,16.2013-02:47
|
Re: PC addressing mode
|
Defjam
|
Apr,17.2013-17:43
|
Re: PC addressing mode
|
Sallafranque/Thadoss
|
Apr,19.2013-00:21
|
Re: PC addressing mode
|
Mr. Styckx
|
Apr,19.2013-14:27
|
Re: PC addressing mode
|
Defjam
|
Apr,19.2013-18:35
|
Re: PC addressing mode
|
dml
|
May,29.2013-00:25
|
Re: PC addressing mode
|
evil
|
May,29.2013-14:54
|
Re: PC addressing mode
|
Cyprian
|
Jun,01.2013-16:17
|
Re: PC addressing mode
|
evil
|
Jun,01.2013-20:00
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|