My PC emulator MartyPC isn't enormously popular, but that's fine. I still find an occasional reference to it out in the wild internet yonder, which always makes my day.

So I was very happy to find this tutorial on programming mouse support in assembly language!

#retrocomputing #emulation

https://www.youtube.com/watch?v=_pps7LrvfSU

Programming for Mouse inputs on Marty PC

YouTube
@gloriouscow Me: "Oooh an XT emulator. I have wanted to try writing an OS to learn x86 assembler... NO elissa, BAD! You do NOT need another project!"
@vampiress @gloriouscow
You can have a little OS project as a treat
@trampinheavy @gloriouscow For my sins I am opening up my copy of "Modern Operating Systems" by Tanenbaum and looking up real simple asm boot loader stuff over lunch...
@gloriouscow criminal that it isn’t more popular! Best era of PCs too
@thomasfuchs more popularity would just mean more bug reports...
@gloriouscow @thomasfuchs This is why I prefer releasing my games on itch to steam. 😅 Though honestly I'm going to have to real soon because of capitalism and rent...
@thomasfuchs but I'm sure I'll overtake DosBox with the improved light pen emulation in 0.4.2
@gloriouscow I was just using it the other day. Apparently MartyPC is the only emulator that handles the Kaypro 16 hard drive setup disks without throwing some sort of fit about their awful autoload script. Now if it accepted hard drive images... :P
@mcjonestech it supports simple VHDs. If you've got some other format I can help you convert.
@gloriouscow I was trying to build this crazy Kaypro 16's hard drive virtually since it requires something like 9 disk swaps to fully set up. The PicoMEM has a swap disk command but the Kaypro setup script is stupid/smart enough to detect every keypress and start immediately looking for a change in variable for disk number. I just have a blank 100MB IMG I was using the PicoMEM created
@mcjonestech Raw disk images are tricky as you need to store the geometry somewhere. I could add that though.
@gloriouscow Seems like a lot just for me just being lazy and not hooking up a Gotek haha. Now if there was a way to import the contents of a VHD into an IMG without wrecking the place... Research may be necessary
@mcjonestech you literally just have to chop the footer off
@mcjonestech why are we having this conversation on mastodon lol
@gloriouscow That is a fantastic question. I've been rocking two side by side windows of Mastodon and the Internet Archive for most of today so I think my brain forgot lol
@gloriouscow (just built it and am tinkering with it) Wow that's a slick emulator. Really nicely done!
@gloriouscow bug report, alley cat isn't loading
@thomasfuchs yeah. I need to remove the menu thing
@gloriouscow JUST CLEARED A FISHTANK!!! (alas in dosbox)
@thomasfuchs no overscan emulation for you

@thomasfuchs alleycat was the first thing I got running in martypc, I didn't even have cga emulation, I had a weird visualization of video memory. Normally the cpu would hang but I was curious when alleycat just kept running one time. Then I peeked in video memory and saw the cat walking around on the fence.

Incredibly satisfying moment

@gloriouscow amaze amaze amaze
@gloriouscow it's hard to get this across over social media but your obsession with these old computers and getting this stuff to work makes me super happy

@thomasfuchs obsessed? Who's obsessed?

... Did I show you my new light pen? It's a FastPoint FX-431. It has a stainless steel body. The Warp Speed pen is longer and thicker but it's not the size that counts.

@gloriouscow amazing. I remember only ever seeing these in books as a kid, despite my first computer being a PC (Commodore PC-20)
@thomasfuchs wanna see something cool? I got to hold one of the only known copies of Alley Cat in the original packaging
@thomasfuchs and yes that is a 100% pcjr software library in the background

@gloriouscow hmmm I should give my PCjr a spin, I got one in original box and all but never really got around to try it out :)

(not sure if I have everything to get it going)