audetto / AppleWin

Apple II emulator for Linux
GNU General Public License v2.0
47 stars 12 forks source link

applen alternately displays wrong text page when running A2osX text-based disk OS #23

Closed xandark closed 3 years ago

xandark commented 3 years ago

First of all, this is such a cool project! I am having so much fun running AppleWin natively on Linux and it built without a hitch on my Kubuntu 20.04 system, using the packages I found in raspbian.list.txt.

I was blown away by how well I could run Aztec in the terminal and still make out the gist of the game. My next step was to run a text-based shell, like the currently-in-development A2osX.

I found that running this floppy image, which is an 80-column mode shell, resulted in my virtual Apple II display flickering between text pages way too much. It seems that when the input cursor is on an odd column, the display shows text page 2, which is garbage. Just advancing the cursor by one brings back the expected display of text page 1. Back and forth, it's unusable.

I tried a regular ProDOS disk, and I didn't notice this behavior in its 80-column display.

Regardless, I really hope that this work can be merged back into AppleWin.

audetto commented 3 years ago

Have you tried to widen the terminal to get better HiRes? https://github.com/audetto/AppleWin/blob/master/linux.md#applen Only in HiRes graph. Try ALT or CTRL, not all terminals use the same code for these keys.

About A2osX, I saw it, will try to figure this out.

audetto commented 3 years ago

A couple of things for you

audetto commented 3 years ago

linapple had a huge number of issues. Should be fixed now, but better to reuse AW logic from https://github.com/AppleWin/AppleWin/blob/master/source/NTSC.cpp#L77

xandark commented 3 years ago

Yep, that fixed it, great, thanks!

xandark commented 3 years ago

And yes, I did widen the terminal view, that's pretty cool too.