Been awhile since I looked at the Milan setup.
If the 060 update flashes to the R0M, can someone post a Milan 060 ROM dump to look at?
Hope that makes sense, it's late

Where in ST-RAM do you find this image? I would not be surprised if the TOS image dumped from an AB (with no drivers running) differs from the same dump on a stock Falcon, as I suspect that the logic on the AB "NOPs" the 040-incompatible MMU/cache instructions from the TOS address range (0xe00000 - 0xe8000). If this is the case then the difference in these two images should be the occasional 0x47e1 in the AB-dumped image.Rustynutt wrote: Fri Dec 24, 2021 6:23 pm I've dumped the ROM image from ST RAM after booting the AB without drivers.
Its stored patched and different than 4.04.
When booting it, you can recognize the extra time it takes on a cold boot.
Forgot when one I'm using, it was in the Sparrow discussion.mikro wrote: Sat Dec 25, 2021 10:50 pm You must have misintepreted what they do in Amiga world. The 060 caches are, naturally, disabled by default:
cache.png
To quote what I read is, on the Amiga with 060, caches are enabled at boot, and thus the stack becomes corrupt. The Amiga O/S is patched to prevent this.
It's possible in this case, the 060 card for the Amiga somehow enables the caches before the O/S loads.
Also, having cache enabled is not some sort of evil behaviour, it matters only for memory operations. Reading instructions from ROM to CPU with cache(s) enabled can't have any catasrophic consequences unless the stack is set to memory which is yet to be configured.
Think there is more to it than that. It it caches reading something from ROM, and the Falcon, or AB, looks back for an address that has been cached, but no longer valid, everything stops.
Whatever is stopping the AB from loading TOS from ROM with an 060 and socket adapter occurs very early. There is some life, but don't know exactly where the hang up is.
It's well before disk initialization, or even the Falcon control registers are initialized, which is like line 19...
For TOS dump you can always use any TOS dumping tool, patched or not, the TOS variables always point to the correct place.
Ok, it had been a while so stand corrected. I must of dumped the ROM with drivers installed. It surely was significantly different than 4.04.joska wrote: Sun Dec 26, 2021 12:17 am I dumped the ROM on my AB-Falcon just now, without any drivers running. The dumped image is identical to the 4.04 image i found here. osheader also points at 0xe00000, so I'm pretty confident that it's actually the ROM image that is running unmodified when there is no AB drivers installed.
I guess the AB is able to run stock TOS by converting the incompatible opcodes to NOP on the fly. Done by the Mach-chips on the AB, not by the CPU. The 060 is less compatible with 000-030 binaries than the 040, so the on-the-fly-adaption in the AB is not enough for a 060. You need a 060-friendly TOS in ROM. There is a 060-friendly diagnostics ROM in the CT60 ROM, maybe you could try putting this on a cartridge and boot your AB060 with it?
Btw if I dump the "ROM" when the AB-drivers are in use I get a significantly altered image. This is the image that the AB driver has copied to Fast-RAM, patched and remapped to 0xe00000.
joska wrote: Sun Dec 26, 2021 12:17 am I dumped the ROM on my AB-Falcon just now, without any drivers running. The dumped image is identical to the 4.04 image i found here. osheader also points at 0xe00000, so I'm pretty confident that it's actually the ROM image that is running unmodified when there is no AB drivers installed.
I guess the AB is able to run stock TOS by converting the incompatible opcodes to NOP on the fly. Done by the Mach-chips on the AB, not by the CPU. The 060 is less compatible with 000-030 binaries than the 040, so the on-the-fly-adaption in the AB is not enough for a 060. You need a 060-friendly TOS in ROM. There is a 060-friendly diagnostics ROM in the CT60 ROM, maybe you could try putting this on a cartridge and boot your AB060 with it?
There are some source from the patches for the ct60tos. Or use the ctos060.img and Digger than compare it with TOS 4.04Rustynutt wrote: Sat Dec 25, 2021 8:45 pm An easy answer to this would be someone that knows what's going on with CT TOS, has source and understands what it's doing, not just patch it with
Yes, but typically, when just probing for existence of I/O addresses, you don't look at the generated frame. Merely the fact that a buserror is generated is sufficient. Also such routines typically don't perform an RTE, so the failing instruction is never reexecuted. Look for example at the function used in EmuTOS: https://github.com/emutos/emutos/blob/2 ... rs.S#L1239Rustynutt wrote: Sun Dec 26, 2021 10:17 am However, the stack frame generated by the MC68040 is significantly different from that of the MC68060. Resource checking software that relies on the stack size information must be modified appropriately.
I don't think it will work. A few years ago I studied the sources for Doug's AB toolkit in order to understand what was needed to get EmuTOS to support the AB. IIRC there are several places where TOS is patched to call code in the toolkit driver itself, so if you booted from this modified TOS it will attempt to call non-existing code/data in RAM.Rustynutt wrote: Sun Dec 26, 2021 12:59 am Would the image saved out with the AB patch be bootable from ROM? Wonder what the AB would do then?