flashjazzcat Posted January 12, 2014 Share Posted January 12, 2014 Decided to give this its own topic, since it doesn't really have anything to do with APT (previous posts were in the APT Hard Disk Preparation and Utilities thread). Can't start it with a download quite yet (although there'll be a version to test in a day or two), but I wanted to demonstrate the basic procedure for editing the flash ROMs so people can hit the ground running when I post a version of the software for testing. The video shows a PBI ROM update, followed by BASIC slot 2 being replaced by the Atari Assembler Editor. You'll notice the slot descriptions can be edited and flashed to ROM at any time. I then replace the High-Speed OS with the 1200XL OS. Flashing is somewhat slower than it would be when using 4KB sector flash ROMs (Altirra only emulates 64KB sector chips for Ultimate), and of course it's also possible to load all ROM images from the hard disk (in the video, they're loaded from the host device via SIO). Don't really want to spend too long on this, so hopefully it'll be done shortly. I need to add 4KB sector and Incognito support before I have something ready for testing. 8 Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/ Share on other sites More sharing options...
w1k Posted January 12, 2014 Share Posted January 12, 2014 another small revolution.. good luck ps. i see 2x typing B:ROMGLO.. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2904763 Share on other sites More sharing options...
flashjazzcat Posted January 14, 2014 Author Share Posted January 14, 2014 4K chips done (thanks in part to Avery Lee updating Altirra so fast), Incognito looking good, so beta version tomorrow for those brave testers... 5 Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2906269 Share on other sites More sharing options...
flashjazzcat Posted January 15, 2014 Author Share Posted January 15, 2014 (edited) As promised, a version of the in-place flasher and editing tool (uFLASH) for testing: uflash.xex I've just spent half an hour or so testing this build on three Ultimate machines and an Incognito equipped 800, with no bricking so far. However, I fully expect there to be one or two (possibly significant) bugs which haven't surfaced yet, so if you don't have recourse to an external programmer, you might want to wait until some who do have tested the utility - at least if you're thinking of flashing the main BIOS or SDX. Other slots aren't so critical: after all, as long as the BIOS and SDX work, you can usually recover a bad flash. That said, I've had no failed flashes at all so far (the program uses Candle's own JEDEC flash library, which is "guaranteed bug free"), and there are a number of safety checks built into the program to ensure the wrong content never gets flashed to critical regions of the ROM. Most pleasingly, you can edit the slot names (XEGS, OS and BASIC slots in Ultimate, and Colleen and XL/XE OS slots in Incognito) and these will never be lost until you flash the chip using some other utility. Even if you flash a new main BIOS, the existing slot descriptions are merged into the new ROM. Import/export description facilities (pretty trivial) will be added later, so the descriptions can be stored in plain text files. You can also dump slots to disk, which is particularly handy for testing: dump the slot, reflash using the dump, etc. Dumping the SDX slot to a SIDE partition and reflashing it gives an idea of how quickly 256KB of data can be chewed through when everything's held in RAM. When dumping a file, select the target drive using the drop down, then tab across to the filename box at the top, and type the filename and extender WITHOUT the drive ID in front. What's not working/finished yet: Dump entire ROM to disk Slot properties (PBI version, slot geometry report, etc) Import/export descriptions File selector auto-sensing the SDX default drive Mandatory reboots after flashing critical ROM content Separate flashing of the Ultimate BIOS and SIDE loader (it's currently assumed they're concatenated into a single 32KB file; if it's better to have them separate, let me know and I'll change it) Prototype Incognito support Read that last one twice: don't use this with proto Incognito boards. Support can be added later if required, but it isn't there yet. Auto-sensing of the hardware (i.e. Ultimate or Incognito) is currently performed via the BIOS ID string, so isn't 100 per cent foolproof. Unfortunately I haven't figured out a way to ID the hardware using only the hardware yet. Before running the program, you should enable SDX and extended RAM. If you enable 1MB of RAM, there's less chance of the cache (which consumes up to 256KB) wiping out the SDX banks, although you should really reboot anyway following most flash sessions. In addition, SDX should be using BANKED RAM, since uFLASH runs the OS in RAM so that flashing the active OS slot won't cause a lock-up. I'll add all these refinements (reboot warnings, SDX OSRAM detection, etc) over the next few days. The file selector also needs quite a bit of tidying up and bug-fixing. Finally, a really nice bonus is that you can run uFLASH from Candle's latest (stand-alone, disk-based) XEX loader... or at least you will be, once a very minor bug in his (excellent) mini FAT-DOS has been corrected, which results in short reads. But when testing the combo the other night, I got a glimpse of what's possible: put UFLASH.XEX and all the ROM files in the FAT32 partition of the CF card, boot the loader, run uFLASH, and load the images right off the FAT. In any case, you could do the same thing using KMK's FATFS driver using a FAT16 partition (prepared using the latest APT FDISK), or just copy the ROMs into an APT partition. In all cases, it's significantly faster that loading the ROMs from a serial device. Anyone who tries this program and finds a problem - please report it here ASAP for the benefit of others. Enjoy! Edited January 15, 2014 by flashjazzcat 2 Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2906926 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 hmm, if i try load XEX via SIO2PC or SIO2SD, then cant detect U1MB.. from SDX i have only blank screen :/ U1MB: HI-SPEED OSSDX: DISABLED/ENABLED - that sameSIDE: DISABLED Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907188 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 hmm, if i try load XEX via SIO2PC or SIO2SD, then cant detect U1MB.. from SDX i have only blank screen :/ U1MB: HI-SPEED OS SDX: DISABLED/ENABLED - that same SIDE: DISABLED Try the stock OS, SDX ON. Don't use the "X" command either. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907235 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 ee..neither ultimate nor incognito hw was detect.. STOCK OS SDX: ENABLED SIDE: DISABLED load from SIO2PC Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907251 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 ee.. neither ultimate nor incognito hw was detect.. STOCK OS SDX: ENABLED SIDE: DISABLED load from SIO2PC Can you post a dump of the complete 512KB ROM? I suspect the BIOS ID simply isn't there to be detected... Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907260 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 here:but PBI is now updated Ultimate1MBv2_SuperT2000_Qmeg5_PBI035_SDX446.zip Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907283 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) here: but PBI is now updated Thanks. But the entire upper half of the ROM is blank, save for a few scattered bytes. I have no idea how the machine is even booting up. No BIOS, no PBI, no BASIC, no QMeg OS - nothing. This certainly explains how the hardware is not detected, anyway. Please flash the chip with a recent complete 512KB image and try again. Edited January 16, 2014 by flashjazzcat Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907287 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 (edited) hmm, normal u1mb, but modded.. flashed via AVR BURNER, not ATR util.. can i reflash with this? !ok-Ultimate2.zip Edited January 16, 2014 by w1k Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907295 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 can i reflash with this? I see no reason why not. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907305 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) Correction: just tested it in Altirra and it appears to be Trub's older flasher which doesn't like 4KB sector Flash ROMs. It times out while erasing if the sectors aren't 64KB, but then tries to flash the device anyway. Solution: use the newer version of Trub's flasher which is fixed up for 4KB sector ROMs. Edited January 16, 2014 by flashjazzcat Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907306 Share on other sites More sharing options...
Roydea6 Posted January 16, 2014 Share Posted January 16, 2014 No comment. Still trying to figure out the Menu system. But I was able to DUMP all the Basic/Game slots to D5:... Since I like my current ROM I have no need to re-flash anything yet.. But as test I renamed the basic slots in reverse order and re flashed the dumped roms successfully into their renamed slots. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907322 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 (edited) i have it.. hmm, its possible know INFO in this ROM tool which version of PBI i have? or BIOS, etc.. ps. i cant find normal ATR with U1MBv2 with SDX 4.46a and with PBI 0.3 - or 0.4.. so i must create it, ohh spartados.com - SDX446_ultimate.atr - why not SDX446a? why is not merged with PBI?atari8.co.uk - PBI 0.3.. where is 0.4? chaotic :/ ps2: LOOOL -i try reflash PBI 0.4 i see: CURRENT PBI BIOS V.1.0 UPDATE TO PBI BIOS v.0.4 why why is so chaotic? Edited January 16, 2014 by w1k Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907324 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 i have it.. hmm, its possible know INFO in this ROM tool which version of PBI i have? or BIOS, etc.. Yes - that will be possible when I add these facilities. I want to test the utility's flashing capability first. ps. i cant find normal ATR with U1MBv2 with SDX 4.46a and with PBI 0.3 - or 0.4.. so i must create it, ohh spartados.com - SDX446_ultimate.atr - why not SDX446a? why is not merged with PBI? atari8.co.uk - PBI 0.3.. where is 0.4? There's a perfectly good stock Ultimate ROM at Lotharek's website. And why would I place beta BIOSes and tools on my website when I already posted them here for TESTING purposes? chaotic :/ ps2: LOOOL - i try reflash PBI 0.4 i see: CURRENT PBI BIOS V.1.0 UPDATE TO PBI BIOS v.0.4 why why is so chaotic? It's chaotic because you clearly began with a munged Ultimate ROM. I posted this tool for people with working Ultimates and Incognitos to test. The thread is rapidly turning into a troubleshooting discussion about your Ultimate 1MB's ROM content, and this is before you've even managed to get uFlash to recognize the hardware. When you have the Ultimate in a compatible state, please test uFlash and report results. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907331 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 (edited) ok.. flashed new u1mb from spartados.com, replaced PBI and finally via this ROM util succesfull replaced STOCK OS -> Q-MEG 5rc, succesull changed names. for me works.. question: i found SDX 4.46a only for SIDE II, can i flash SDX 4.46a with this tool to U1MB? ------------ edit.. so i tryed it - reading stops in 240/256kb..uff ------------ edit.. bug? "SIDE hardware" item - i see 2X option DISABLED.. so..disabled, disabled, on-w/o, on-with.. Edited January 16, 2014 by w1k Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907338 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) via this ROM util succesfull replaced STOCK OS -> Q-MEG 5rc, succesull changed names. for me works.. Good - thanks. question: i found SDX 4.46a only for SIDE II, can i flash SDX 4.46a with this tool to U1MB? No. so i tryed it - reading stops in 240/256kb..uff Interesting. Stops how? With an error message? Lock up? I tried flashing the Ultimate build of SDX already and it worked OK here. bug? "SIDE hardware" item - i see 2X option DISABLED.. so..disabled, disabled, on-w/o, on-with.. That's because of the way the menu items are designed (each has to have four options). Nothing to worry about. Edited January 16, 2014 by flashjazzcat Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907358 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 interesting.. latest option changed from XEGS to EGS i try reflash SDX4.46a.ROM - then stops and freeze.. but not happened Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907364 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) latest option changed from XEGS to EGS i try reflash SDX4.46a.ROM - then stops and freeze.. but not happened Send me the ROM. BTW: Regarding freezing - just realized what's going on there. Using 576KB or 1088KB instead of 320KB will solve the problem. Flashing SDX uses sixteen extended banks, and the last one happens to be where SDX lives. EDIT: Missing initial "X" on XEGS was a bug (if description of previous slot was 14 characters long, first character of following title was overwritten). All fixed in next upload. Edited January 16, 2014 by flashjazzcat Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907423 Share on other sites More sharing options...
Roydea6 Posted January 16, 2014 Share Posted January 16, 2014 SIDE2 SDX446a does not like the Ultimate registers if I remember correctly. I tried also in the past to put 446a from the side2 sdx446_side2.rom... Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907440 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 The SDX base register moved in SIDE2, so there's no way a SIDE2 SDX ROM can be used with Ultimate. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907452 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) New build: uflash.xex Fixes/Changes Slot description of maximum allowable length no longer causes first character of following slot's title to be wiped out Program now insists on a minimum of 576KB of RAM, to avoid problems with SDX running in banked memory Slot->Properties now displays the slot title, base address and size, as well as the content version number (where applicable; see below) Slots updated during a session are now marked "Updated" A mandatory reboot is now enforced at the end of a session if ROM content has changed Manual "Reboot" option added to the Device menu To Do Various tweaks to the file selector Option to dump entire ROM Option to flash entire ROM Import/export slot descriptions The reason the PBI ROM slot is the only one whose version number is displayed in Slot->Properties is because the PBI ROM is the only item in Ultimate/Incognito whose version number is conveniently accessible (immediately after the magic bytes). SDX should be doable shortly. Obviously the GUI's will be accessible, and I'll ask Candle about the BIOS version number. If I can get version numbers of all the top four slots, I'll display them next to the slot names in the editor. Edited January 16, 2014 by flashjazzcat Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907486 Share on other sites More sharing options...
w1k Posted January 16, 2014 Share Posted January 16, 2014 loads from SIDE II make this:loads from sio2pc works good.. that same setup..576k or 1mbSDX enabled, SIDE: ON-W/O.. Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907509 Share on other sites More sharing options...
flashjazzcat Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) loads from SIDE II make this: OK. Are you loading straight from an APT partition? Same setup works here. Can you list other settings? Do you have any soft-drivers installed? What's MEMLO value? Etc, etc... Edited January 16, 2014 by flashjazzcat Link to comment https://forums.atariage.com/topic/220750-in-place-ultimate-1mb-incognito-rom-editor-and-flash-tool/#findComment-2907513 Share on other sites More sharing options...
Recommended Posts