|
Post by VDC 8x2 on Nov 14, 2014 23:50:46 GMT
In all my time, I have never an odd starting address.
Why don't we use bit 0 of the starting address to indicate bank 1 or 0.
A custom routine could check the bit then strip it and load into the proper ram bank?
|
|
|
Post by hydrophilic on Nov 15, 2014 15:34:30 GMT
Sounds good to me! Most starting addresses (for ML software) are page-aligned ($800, $1300, $c000, etc.). The only problem that I see with your idea is that most BASIC software is +1 aligned (for lack of better term). For example, $401, $801, $1c01, $4001, etc.
Of course, it is not very complex to identify a BASIC program... just follow the line-links (if the links are 'bad' then it is probably an ML program and not BASIC).
|
|
|
Post by VDC 8x2 on Nov 15, 2014 16:29:16 GMT
All basic programs are loaded into bank 0. I am thinking the custom routine would mostly be for ML routines.
|
|
|
Post by hydrophilic on Nov 17, 2014 7:37:59 GMT
Well, if you KNOW the software is ML, then sure... use the low bit to specify bank 0 / 1. Heck, you could use the low 4 bits to identify one of 16 banks (for use with REU / U1541).
|
|
|
Post by VDC 8x2 on Nov 17, 2014 16:05:31 GMT
Interesting idea
|
|