Top

New Version Of The 68k Macintosh Emulator Basilisk II

July 6, 2008 by Hawq 

A port of the 68k Mactintosh, that’s the early Macintosh computers, emulator Basilisk II to the PSP by Jf, there’s been a flurry of activity surrounding this one so let’s see what’s been done:

    test 1
    Here’s a test build. It’s not meant to be used, it’s for feedback on the GUI mainly. That doesn’t mean it doesn’t work - it boots my 8.0 CD just fine. It’s just not usable yet due to limitations.

    Ignore the crappy refresh routines - I’ll be replacing them entirely in the next few days. I just used enough of a stretch blit to be able to see something to be certain the emu is running.

    Currently, the analog stick is the mouse, with LTRIGGER/RTRIGGER as the buttons. The d-pad is the cursor keys, and X is ENTER. I’ll eventually have denzef keyboard and pspirkeyb support, as well as the ability to remap the buttons when in that mode. As I mentioned, this is just a test.

    The only volume you can select is the cdrom. You can select hardfiles, but they aren’t remembered or used (yet). I’ll put a floppy selector in there as well tomorrow or the next day.

    The default directory for roms is “roms”, the default dir for floppys is “disks” (and floppies should all have an extension of .dsk), the default dir for cdroms is “cdroms”, and hardfiles is “hardfiles”. It doesn’t mean they HAVE to be in those directories, but that is where the file requester will go first.

    I allow three Mac resolutions - 512×384, 640×480, and 768×576. You can select four different depths - 4bit, 8bit, 16bit, and 32bit. At the moment, the video is also hardcoded to only display on the LCD. I’ll change that when I change the refresh routines.

    The binary here is currently set for small memory so I could check how it would work on a phat - you can get up to 16M on a phat and 44M on the slim (not with this build - with a build set for large memory).

    Anywho, here’s the current test build and src arcs.

    test 2.
    Heaps of new stuff…

    You can create and select hardfiles. Boots from hardfile fine, will ask to format blank hardfiles (the ones you create in the GUI).

    You can select a floppy at the start. Boots from it fine. The next step is to make add the ability to change the floppy and cd while in B2. Press SELECT to see the change menu… it doesn’t do anything other than show the first cd and floppy in their respective folders right now. Press SEL again to leave the menu.

    test 3.
    Even more stuff - the CPU frequency is set by the prefs, and networking should be working (it’s just impossible to set the network settings on the Mac side since there’s no keyboard). The cdrom and floppy are removable now… but that led me to a weird quirk I’m not sure is due to B2 or not.

    When you have the floppy and cdrom set as removable devices (and not just missing when not in use), sometimes the Mac video “stops” - you get the initial dither pattern and nothing else, even though the Mac is still running in the background. As long as you have a bootable hardfile, bootable cdrom, or the combination of a non-bootable hardfile AND a bootable floppy, the video doesn’t go out to lunch. So no trying to boot just a floppy. Weird, huh?

    Uh… to insert media, press SELECT. You’ll get a field that shows a floppy or cdrom. Press left/right to switch between floppies and cdroms. Press up/down to scroll through the list of floppies or cdroms. When you reach the disk you want, press X to mount it. Note that you must not have a disk inserted in that device or you won’t be able to mount it. So if you already have a cdrom inserted, you have to eject it before you can insert the next. Same for the floppy. Only cdroms and floppies in their respective directories will show. You don’t get to navigate willy-nilly to select cdroms/floppies on the desktop.

    test4.
    This one doesn’t hang when switching display modes. You’ll want to run in 8 bit mode for right now. 640×480 is nice, but if you have bad eyes, 512×384 would be easier to read. Don’t try to use 768×576 right yet as it’s too tall for the current refresh routines. Also includes other minor updates, but I forget what beyond the video hack.

Download from the release thread or below.

Basilisk II For PSPBasilisk II For PSP (498.1 KiB, 57 Downloads) - Version Test 4

Basilisk II For PSP Source CodeBasilisk II For PSP Source Code (2 MiB, 54 Downloads) - Version test 4

Looking for our Basilisk II Page? Click below!

Comments

RSS feed

Comments

No comments yet.

Sorry, the comment form is closed at this time.

Bottom