• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Recent content by mcayland

  1. M

    Debugging via QEMU

    My pleasure :). If you ever find the time to write some of this up with pics, I'd be interested to see some examples as to how you are using gdbstub in tandem with Ghidra as part of your workflow.
  2. M

    Debugging via QEMU

    Should be possible without too much difficulty: looks like BootBug is basically a 16450 UART with a declaration ROM. QEMU already has a 16550 which should be usable as a drop-in replacement, so all you'd need to know is the offset from the slot base address where the UART lives and how the Nubus...
  3. M

    Debugging via QEMU

    Note that with the patches merged into QEMU upstream, it is no longer necessary to specify the "vendor", "product", and "ver" properties for the CDROM as those are now set automatically for both HDs and CDROMs by the machine initialisation code. In other words you should be just fine with...
  4. M

    Debugging via QEMU

    Whilst working on the q800 series for QEMU, I wrote a utility called list2elf that takes the symbols from the MPW ROM map files and uses them to generate a stub ELF file so that you can also have access to the ROM symbols in gdb i.e. You can find out more information and download the stub ELF...
  5. M

    vpRowBytes in video card declaration ROM

    Oh wow, that's incredible. I knew that the floppy drive was timing sensitive, but not quite to that extent (SWIM just current debugs accesses in QEMU for now). The main use case is for the A/UX boot floppy, but that seems to work fine added as a SCSI HD to get to the installer. Maybe one for the...
  6. M

    vpRowBytes in video card declaration ROM

    Thanks! No, there's no restriction there, it's simply mapped memory. I had no idea that the PDMA caused the CPU to halt, but not implementing it hasn't caused any problems that I am aware of. Given that QEMU runs at native speed I was expecting there to be some timing issues, but the only one I...
  7. M

    vpRowBytes in video card declaration ROM

    The framebuffer is simply memory mapped, but I have a feeling we discussed this before - wasn't it one of the palette indexing registers? Should be quite trivial to implement, especially now the MacOS q800 changes are upstream :)
  8. M

    Long shot: A/UX and spurious ENOTSOCK

    The programmer's switch is currently only wired up for the PMU, so you'll need to run qemu-system-ppc with -M mac99,via=pmu currently for it to work. At the very least it fired up MacsBug as expected last time I tried. If anyone knows how to wire up the programmer's switch for the g3beige and...
  9. M

    NuBusFPGA: HDMI on NuBus Macs

    Thanks for the link, that's very handy. My long-term plan is to take the current NDRV used for QEMU PPC at https://gitlab.com/qemu-project/QemuMacDrivers and split it so that both an NDRV and a 68k Declaration ROMs can be built from the same project and integrate them with QEMU. I've had a look...
  10. M

    NuBusFPGA: HDMI on NuBus Macs

    I'm the author of the Q800 MacOS patchset for QEMU and came across this thread by accident when searching for something else - @Melkhior this is an amazing project, and I am pleasantly surprised that the Declaration ROM support was good enough to prototype the real one :) One of the main...
Top