![]() Once again big thanks to jeffmazur for providing the foundation.Īctually this is an amazing idea for one more emulator. Even though I use Eclipse for development, it was easy to set up Eclipse to launch VS Code when double-clicking an. It has the most useful IntelliSence for every instruction, it’s completely aware of all Apple II special routine addresses and it has the ability to generate perfectly spaced code that looks pretty when pasted in Merlin. Here is the completed assembly program: ESP32.zipĪlso for anyone getting into assembly for the Apple II, I would highly recommend the Merlin 6502 extension for VS Code. This behavior allows me to use it as a joystick and also it can have a non-linear motion of the cursor, like in modern computers. This allows it to go forever in any direction, without me having to worry that it will hit the bounding box and stop. Basically it starts in the middle of the bounding box and as soon as it hits one of the bounds it jumps right back to the middle. However I needed it to be able to go infinitely far in any direction, so I ended up implementing a roll-over in the assembly program. For example the resolution of the Macintosh Classic is 512x342, so when the mouse is clamped between 0,0 and 512,342 the mouse firmware itself makes sure it never goes off screen. This is perfect for fixed resolution with linear cursor motion. The assembly program got more complicated than I expected, since the Apple Mouse II only works in clamped mode. I am also planning to enable it in Doom, Wolfenstein 3D and have it emulate a joystick in the Sega and Nintendo emulators. Now the mouse is working perfectly in the Macintosh emulator, but I left the joystick as well. I finally finished with the assembly program with full Apple Mouse II support.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |