Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,515 of 4,255    |
|    Alexei A. Frounze to muta...@gmail.com    |
|    Re: 6502    |
|    27 Nov 22 00:46:09    |
      From: alexfrunews@gmail.com              On Sunday, November 27, 2022 at 12:06:47 AM UTC-8, muta...@gmail.com wrote:       > I used to program on the Commodore 64, which used       > the 6510 (basically 6502), and I recently realized that       > the way it used a pair of 8-bit values to access memory       > makes it fundamentally segmentation not much       > different to the 8086.              Not quite. There's only one special "segment", the "zero page".       It can be accessed using an implicit segment 0, that is, address bits       15 through 8 are all zeroes.       OTOH, if you use the indirect-Y addressing mode, you're almost       using a GDT. That is, the zero page can contain up to 128 16-bit       addresses and you can choose one of them and add an 8-bit       offset to those 16 bits.              Alex              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca