> Need more than 64KB? Allocate two blocks.
How is that compatible with an array and a simple implementation of the index operator?
> Need more than 64KB? Allocate two blocks.
How is that compatible with an array and a simple implementation of the index operator?
I once developed for PC-GEOS, which wanted all memory in exactly 8K sized blocks. I wrote a set of C macros that presented an array-of-arrays as a single collection by using mod/divide operations on the index.
It isn't.
This was a problem.
You can do the equivalent of the hypothetical ADSC instruction I mentioned in another post using normal instructions. It's just that you need an uncomfortable amount.
Not really. Compilers had huge pointers. They just were slower since they had to do 32 bit math.