Made a fix for this bug in the last commit in my fork.
Another note: when using si it may be useful to use context auto so that it will show 68K instructions instead of showing ppc instructions from the 68K emulator.
Control-D in a DingusPPC window will get you into the DingusPPC debugger.
Control-F for full screen modes (integer scaling, full scaling, no bars scaling)
Control-Shift-F for full screen reverse direction.
Control- - and = for zoom out and zoom in.
Control-S for smooth scaling toggle.
Control-G...
Since input and output default to serial port B (printer port), you should set serial port B to socket. Easiest way to do that is set both ports to socket like this:
--serial_backend=socket --serial_backend=socket
The first occurrence corresponds to port A (modem port) because that is first in...
The resource nkld_128 of Mac OS Loader seems to be 68K code that loads opfw from Mac OS Loader.
Mac OS Loader has a data fork that contains a PEF (search for Joy!peff) at an offset that is not zero. You can extract the PEF and disassemble that. I don't know what the data before the PEF is for...
That ROM nv_oem_4mx_1088_agp_64k.zip is corrupted - all carriage return characters were incorrectly replaced by line feed characters and there's no way to reverse the corruption since not all line feed characters resulted from the corruption.
didn't boot - are you talking about booting Copland or getting into DBOF? Are you saying you can't get into DBOF with 8+32+32+32+32?
Not sure how dump-vt could fail. word not found? Not sure how words can disappear depending on RAM layout unless something got corrupted?
Output from dev / ls...
An external variable _page is used to keep track of where it stopped. What's the value? Can you read from the address manually?
cr _page 8 u.r cr
cr _page c@ . cr
cr _page ['] c@ catch if ." error: " 8 u.r cr else . then
If you give an example of a bad address, then I can make DingusPPC do...
Here's an implementation with a second level of catch:
0 value _rerr
0 value _page
0 value _err
: test-ranges ( max min -- )
do
i to _page
( ) i ['] l@ catch ?dup if to _err drop else 0 to _err drop then
_err h# fffff and 900 = if
i ['] l@ catch ?dup if to...
But translations should exist as a word in Copland DBOF 2.0:
0 > see translations
buffer: translations ok
Are you using Copland D11E4 or an earlier version? I haven't looked at earlier versions.
80d get-token drop is only going to work inside the nvramrc before probe-all
At the OF prompt...
You should be able to correct dump-vt for the versions of OF that it doesn't work on.
It works for me with DingusPPC pm6100 with Copland DBOF. What error are you seeing?
virt:00000000 size:00040000 phys:00000000 mode:00000000
virt:00040000 size:00040000 phys:00040000 mode:00000028...
You have the Open Firmware code (assembly and Forth) from my dump. You can look at the code to see what's happening. I don't know when real-base and load-base are setup/used - is it before Open Firmware has started (in System 7), or in the Open Firmware init code (Part1.txt) or in Open Firmware...
Silicon Beach Software was acquired by Aldus Corporation in 1990. SuperPaint became Aldus SuperPaint which is the version I'm familiar with. Adobe took over Aldus in 1994.
https://en.wikipedia.org/wiki/SuperPaint_(Macintosh)
Appears to be C strings followed by variable type and bit number or offset (01=boolean, with bit number, 02=number with offset to value, 03=string with offset to string)
So `real-base` is at offset 0x10 in the nvrm resource. It seems to have a value of FFFFFFFF = -1 in the Mac OS Loader...
I searched my Copland disk image for occurrences of a snippet from the nvramrc and found 7 occurrences.
I mounted the disk image and searched only the HFS partition which also has 7 occurrences which means all occurrences are in the HFS partition.
I take the offsets and divide them by 512 to get...
I did mention that in #7
You can set output to ttyb:57600 to increase the baud rate.
A small patch is required to enable 115200 or 230400 bps.
I made the commit in my DingusPPC fork. It makes it easy to get into Open Firmware on a pm6100 and it allows editing/saving the nvram...
You can but there's also a checksum to update. It's a simple algorithm so you could just make a perl or python or bash script. You can look at the DingusPPC source code for the format. Normal NVRAM has the Open Firmware variables at offset 0x1800 but the Copland NVRAM has Open Firmware variables...
I didn't touch System Picker.
I used System 7.5. Not 7.5.5. I don't know if that matters.
Capslock snag key might work if you press it as soon as you see the happy Mac. Or maybe before that when you see the gray screen.
I can at least get into Open Firmware with DingusPPC emulating 136 MB of RAM. I probably won't be able to get to a sad Mac until SCSI emulation is working properly with the Open Firmware SCSI driver. Copland may require a second Mac connected to the modem port for debugging (but they do say it...