bobbimanners / Applecorn

Allows Acorn BBC Microcomputer language ROMs to run on Apple //e enhanced, //c and IIGS.
GNU General Public License v3.0
47 stars 8 forks source link

MODE 2 not working on //e #235

Closed bobbimanners closed 1 year ago

bobbimanners commented 1 year ago

Somehow I broke it. Works on GS still.

bobbimanners commented 1 year ago

It is crashing on 65816 code in CLREOLGS. It shouldn't be getting there. I think VDUBANK is the problem here.

bobbimanners commented 1 year ago

Seems this got broken a while back, early in the SHR work. The last working build I could find doing a quick bisect was this one:

commit 0395d560123c136fa89325347ff23cfcefcb01c8
Author: Bobbi Webber-Manners <bobbi.manners@gmail.com>
Date:   Fri Dec 23 21:11:32 2022 -0500

    Char plotting works in MODE 0. No scroll yet.
bobbimanners commented 1 year ago

Broken by end of day Dec 25.

commit 32b129c85907b2116e0d889e2e0e6dd66bd0a786
Author: Bobbi Webber-Manners <bobbi.manners@gmail.com>
Date:   Sun Dec 25 14:40:50 2022 -0500

    Set text mode 40/80 properly in SHR modes (for COPY)
bobbimanners commented 1 year ago

Broken by end of day Dec 24.

commit acedd38cc1828cb6834d99889a21b15f53c497c1
Author: Bobbi Webber-Manners <bobbi.manners@gmail.com>
Date:   Sat Dec 24 23:27:08 2022 -0500

    Use ZP for SHR char plotting - little bit faster
bobbimanners commented 1 year ago

This one works still:

commit e5eabbac9705c042ff1fa4b8eda6e1d9bb3ac1a9
Author: Bobbi Webber-Manners <bobbi.manners@gmail.com>
Date:   Fri Dec 23 23:26:16 2022 -0500

    SHR 640 mode - support for text colours
bobbimanners commented 1 year ago

Broken in this build:

commit e2f13be9f894f42e89e5c8be79198502bc6490ec
Author: Bobbi Webber-Manners <bobbi.manners@gmail.com>
Date:   Sat Dec 24 20:16:20 2022 -0500

    Scrolling works in 640 SHR mode now.
bobbimanners commented 1 year ago

Broken here too:

commit 0e746972713692adaf55b3280aac961c6b4ae266
Author: Bobbi Webber-Manners <bobbi.manners@gmail.com>
Date:   Sat Dec 24 01:06:40 2022 -0500

    Fix #223. Also CLREOL (sorta) works in SHR mode.

THIS IS THE COMMIT THAT BROKE IT!

bobbimanners commented 1 year ago

OK, so managed to deduce it is SHRCLREOL that is getting invoked on the //e somehow in HGR mode and ...bang!