Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.sys.apple2 > #33476
| From | Scott Hemphill <hemphill@hemphills.net> |
|---|---|
| Newsgroups | comp.sys.apple2 |
| Subject | Re: WDC 65C832 design in today's world |
| References | <82a80537-376f-47d8-84d6-e732ebf8d0b1@googlegroups.com> <60e3c8f4-9e24-4556-8251-52b77cf0e670@googlegroups.com> <c14818ce-c828-4c55-95f3-fe50289a96d8@googlegroups.com> <83062778-d450-4ed5-994c-0c27f30a0cc3@googlegroups.com> <06bbe682-bb72-43a0-a83b-72f23e5c126f@googlegroups.com> |
| Date | 2017-09-06 13:02 -0400 |
| Message-ID | <87r2vjpxpp.fsf@hemphills.net> (permalink) |
barrym95838 <barrym95838@yahoo.com> writes: > On Friday, September 1, 2017 at 3:28:00 PM UTC-7, Antoine Vignau wrote: >> Why? Because they are missing in the 65816 >> av > > There's no more op-code space, so you would have to start using $42 > as a prefix byte to maintain any claim of backward compatibility. An idea I had was to have a shadow memory for storing the upper two bytes of 32-bit addresses. As long as the shadow memory is all zero, then 8-bit code will function normally. But every instruction which uses a two-byte address would also fetch two more bytes from the shadow memory, constructing a four-byte address. JSR would push the upper two bytes of the return address to the shadow stack, and RTS would fetch them. You could have a status bit which you turn on/off to switch between 8-bit and 32-bit access, so that you can use regular 8-bit code in ROMs. You would need to be able to manipulate the shadow memory when you load 32-bit code. One way would be to have a mode where memory reads come from the first 64k of regular memory, but writes go to the first 64k of shadow memory. After you set up the first 64k of shadow memory (or as much of it as you need) you can turn on 32-bit mode and JMP to it (or RET, or simply fall through to inline code) to bootstrap program loading. The nice thing about this scheme is the lack of bank registers and full access to the 32-bit address space. But you don't get any 16-bit registers or any additional functionality. Scott -- Scott Hemphill hemphill@alumni.caltech.edu "This isn't flying. This is falling, with style." -- Buzz Lightyear
Back to comp.sys.apple2 | Previous | Next — Previous in thread | Next in thread | Find similar
WDC 65C832 design in today's world Anthony Ortiz <anthonypaulo@gmail.com> - 2017-09-01 11:14 -0700
WDC 65C832 design in today's world Antoine Vignau <antoine.vignau@laposte.net> - 2017-09-01 13:12 -0700
WDC 65C832 design in today's world Anthony Ortiz <anthonypaulo@gmail.com> - 2017-09-01 14:23 -0700
WDC 65C832 design in today's world Antoine Vignau <antoine.vignau@laposte.net> - 2017-09-01 15:27 -0700
Re: WDC 65C832 design in today's world barrym95838 <barrym95838@yahoo.com> - 2017-09-02 23:39 -0700
Re: WDC 65C832 design in today's world Scott Hemphill <hemphill@hemphills.net> - 2017-09-06 13:02 -0400
Re: WDC 65C832 design in today's world Anthony Ortiz <anthonypaulo@gmail.com> - 2017-09-06 11:13 -0700
Re: WDC 65C832 design in today's world barrym95838 <barrym95838@yahoo.com> - 2017-09-06 15:58 -0700
Re: WDC 65C832 design in today's world Steve Nickolas <usotsuki@buric.co> - 2017-09-07 02:08 -0400
Re: WDC 65C832 design in today's world Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2017-09-03 07:20 -0500
Re: WDC 65C832 design in today's world kelvin@pro-kegs.uucp (Kelvin Sherlock) - 2017-09-03 19:16 -0500
Re: WDC 65C832 design in today's world barrym95838 <barrym95838@yahoo.com> - 2017-09-03 12:59 -0700
Re: WDC 65C832 design in today's world James Davis <JPD.Enterprises@outlook.com> - 2017-09-03 19:00 -0700
Re: WDC 65C832 design in today's world Michael J. Mahon <mjmahon@aol.com> - 2017-09-03 23:04 -0500
Re: WDC 65C832 design in today's world James Davis <JPD.Enterprises@outlook.com> - 2017-09-03 18:56 -0700
Re: WDC 65C832 design in today's world David Schmenk <dschmenk@gmail.com> - 2017-09-02 09:43 -0700
Re: WDC 65C832 design in today's world Michael J. Mahon <mjmahon@aol.com> - 2017-09-02 12:50 -0500
Re: WDC 65C832 design in today's world Anthony Ortiz <anthonypaulo@gmail.com> - 2017-09-02 13:05 -0700
Re: WDC 65C832 design in today's world Jorge <jorge@jorgechamorro.com> - 2017-09-02 13:49 -0700
Re: WDC 65C832 design in today's world Anthony Ortiz <anthonypaulo@gmail.com> - 2017-09-02 14:02 -0700
Re: WDC 65C832 design in today's world David Schmenk <dschmenk@gmail.com> - 2017-09-02 14:43 -0700
Re: WDC 65C832 design in today's world Michael J. Mahon <mjmahon@aol.com> - 2017-09-02 17:19 -0500
csiph-web