deater / dos33fsprogs

Tools for manipulating Apple II dos33 filesystems
http://www.deater.net/weave/vmwprod/apple/dos33fs.html
Other
142 stars 23 forks source link

added TARGET setting to info file to support Apple II+ keypress detec… #2

Open riney opened 9 years ago

riney commented 9 years ago

Hi! I noticed that the keypress detection didn't seem to work on the Apple II+. I added this, and a configuration switch called TARGET to the "info" file. Set it to "plus" and it'll generate my new detection code, or to "default" (or literally any other string) and it'll generate your original code. I also moved a few #DEFINEs to the top to make them easier to find. Cheers!

deater commented 8 years ago

Sorry for the long delay in responding to this.

Might a cleaner way to fix this be to not clear the keyboard strobe at all, but instead use "GET X$" to read the character which presumably should work on both a IIe and a II+?

I have to admit it's been a while since I've touched this code so I forget why I was trying to read out the value directly.

riney commented 8 years ago

I want to say that GET doesn't work for certain keyboard keys (shift, open apple, etc), and that the intent was to provide a real "any key" "next slide" functionality? Honestly it's been a while myself. I have a IIc at home to test on now, I'll give it a try.

deater commented 8 years ago

It might be easier the add code that detects what kind of Apple II it is being run on and then doing the right thing.

I currently only have an Apple IIe, but maybe I can check under an emulator.

riney commented 8 years ago

I have a GS, IIe, IIc, and II+, but I only have access to the IIc at the moment (just moved cross-country). I'll have a look in emulation as well. Should be easy enough to poke around in ROM and detect the machine.