22 October 2020, 20:08 | #21 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
@utri007 not sure what needs to be done with startup sequence, I used your settings with replaced files, it boots to WB, but no CD0 device is shown, nor you cannot access it from the shell.
When you enable extended rom it goes back to 8000000B. What is it you want me to try with the loadmodule? And please explain, is the goal here to let it boot from extended rom, unload it and replace with the extracted ones? What is the method here and why? https://imgur.com/a/IMKafSB |
22 October 2020, 20:24 | #22 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
Look, I have this ROM flashing development card I can donate, because I have no idea how to get this done. One thing though, it has to he open source.
It allows you to update rom without burning it, goes from floppy https://imgur.com/a/NBfwo7B |
22 October 2020, 23:23 | #23 | ||
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
Quote:
What is location of CDTV.device and cdfs.library when you tried WITHOUT extended roms? They should be : System:devs/dosdrivers/cd0 System:devs/cdtv.device System:L/cdfs.library Goal of this is force CD-drive to use CHIP ram only and load needed drivers from hard drive. About loadmodule command, you really need read it's manual. Usually loadmodule command is used to load updated rom modules, over existing one. In this case we use it to remove them with remove swicth. This way you should be able to boot even when extended roms are enabled. Wondering what else tools could be usefull to this MMULib? But I ques cdtv.device doesn't use MMU, because then there wouldn't be a problem. Could MuGuardianAngel solve this, it part of MMUlib archive? |
||
23 October 2020, 20:14 | #24 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,335
|
I thought there might be enough information in the CDTV thread over at exxos to patch the ROM rather than require the firmware which patches on the fly?
viewtopic.php?f=76&t=1951&start=30#p23329 If I am reading this thread correctly, TF is talking about one memory location (0xF38706) which according to the Amiga Memory MAP documentation is in the CDTV Extended ROM. TF says this location is part of cdfs.library v24.9 and in particular an allocmem with the parameters "MEMF_CLEAR | MEMF_PUBLIC". So that address should be offset 0x38706 into an Extended CDTV ROM file and I would expect the value should be : MEMF_PUBLIC|MEMF_CLEAR = $00010001 (I got the constant values for MEMF_PUBLIC and MEMF_CLEAR from a quick google) If I look into the Extended ROM v2.30 file with a HEX editor I see starting at @ 0x38704-$0x38706 is the value $00010001 Now I am not an AmigaOS programmer but reading the thread and inferring what is going on I think the idea TF had was to patch the data being read from this address on the fly from MEMF_PUBLIC ($00000001) to MEMF_CHIP ($00000002) to make cdfs.device work with TF536 with FASTRAM fitted. So if you change the data at the ROM location 0x38706 to $0002 that could be the fix? The address location for this code will be different for Extended ROM v2.7 or v1.0 Last edited by alexh; 24 October 2020 at 12:58. |
23 October 2020, 21:05 | #25 | |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
Quote:
|
|
23 October 2020, 21:53 | #26 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
Sounds it may be as simple as finding someone with very good understanding of ancient computing technology, 68k architecture and AmigaOS system knowledge willing to do it for free or a small fee
|
23 October 2020, 22:01 | #27 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
why not just patch the extracted cdfs.device file and disable the extended ROM? Should be much simpler
|
23 October 2020, 22:17 | #28 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
|
|
23 October 2020, 22:23 | #29 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
or maybe without burning a new rom only by software, patch allocmem to block fast memory (anymem from http://aminet.net/util/boot/AnyMEM_v14.lha mentionned in http://eab.abime.net/showthread.php?t=67684) / load the cd module or mount the CD driver / remove the allocmem patch
|
23 October 2020, 22:33 | #30 | ||
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
Quote:
Quote:
PS. it is cdtv.device and filesystem is cdfs.library. CDTV.device is supposed to be problem. |
||
23 October 2020, 22:44 | #31 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
|
Quote:
|
|
23 October 2020, 22:46 | #32 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
Don you may be right. But I think OP wanted to disable extended rom and only boot on IDE HD from normal rom + ripped cdtv.device + cdfs.device.
|
23 October 2020, 22:56 | #33 | |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
Quote:
There is several acceptable ways, but disabling extended roms would be worst case scenario, but accepteable if CD-drive works that way. |
|
23 October 2020, 23:33 | #34 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,959
|
If TF turbo has AutoConfig, then perhaps exist other solution too. Fast RAM must have lower priority than chip RAM, and Amiga CDTV will be allocated at first chip ram, if available. This is perhaps the easiest way, and maybe can be selectable from control tool.
|
24 October 2020, 00:18 | #35 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,335
|
You? The exact details are in my post
TF has replied albeit cryptically Quote:
Someone try it? I don't have a TF536 nor the relocator. I have a CDTV, ROMs and a burner but UK only. I'm fairly sure that changing that one byte in the Extended ROM, burning a new ROM will allow the TF536 with FASTRAM installed to boot and the CD drive to work in workbench. Should be possible to try in WinUAE (can you select a CDTV with 030 and 32-bit autoconfig FASTRAM?) Last edited by alexh; 24 October 2020 at 10:33. |
|
24 October 2020, 10:08 | #36 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
I've created a python script which changes memory type for 2.3 ROM
https://github.com/jotd666/amiga68kt...e/master/tools patch_cdtv_rom.py There are no checksums, I could boot a game with this patched rom. I haven't tested on a TF config, only winuae standard CDTV, no fast memory and all. |
24 October 2020, 10:31 | #37 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,335
|
Thanks, should help those who want to try this but are not comfortable with hexedit.
If anyone is interested, this script verifies the input file is a valid 2.30 extended ROM (using MD5 hash) and then patches the one 16-bit location that TF found from 0x0001 to 0x0002. It might need another hash because there are two v2.30 extended ROMs (the original which comes from the A570 and a patched one by Cloanto, which removes the red screen if a floppy disk drive is not attached) And thanks for testing. It proves that this change is ok for normal CDTV operation when the TF536 is disabled (which you would expect if this address really is what TF says it is.) Last edited by alexh; 24 October 2020 at 10:40. |
24 October 2020, 10:55 | #38 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,161
|
if you know another valid rom hash please provide it. Is it necessary to add patch support for 1.0 ?
|
24 October 2020, 11:38 | #39 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
Thanks guys.
I think that is safe to suppose, that TF536 or other accelerator users has at least 2.7. Would that be possible, with that there is no red tinted screen. bartekmalysz could you test this? What is required to run that python script? |
24 October 2020, 11:53 | #40 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,335
|
Quote:
Code:
2.7: $000000B6 - $00003BBC (00003B06) exec.library , exec 37.201 (28.1.92) $00003BBC - $00003BD6 (0000001A) alert.hook , alert.hook $00003CA0 - $0000541A (0000177A) cdtv.device , cdtv 35.12 (28.1.92) $00005428 - $00005516 (000000EE) setpatch , setpatch 37.3 (31.10.91) $0000558C - $000087EC (00003260) A590/A2091 IORequest handler , SCSI/XT driver by SMB (01.05.89) $00008822 - $000091C8 (000009A6) utility.library , utility 37.3 (13.2.91) $0000920C - $00009830 (00000624) battclock.resource , battclock 38.1 (10.3.91) $0000983C - $0000A47E (00000C42) debox.library , debox 1.8 (16.10.91) $0000A48E - $00035080 (0002ABF2) playerprefs.library , playerprefs 2.2 (7.11.91) $0003508C - $00038468 (000033DC) cdfs.library , cdfs 24.9 (22.10.91) $000386D4 - $0003A4BA (00001DE6) cdg.library , cdg 2.10 (3.2.92) $0003A546 - $0003ADCE (0000088 bookmark.device , bookmark 6.6 (31.1.92) $0003ADD8 - $0003C092 (000012BA) CDTV Bootstrap , cdstrap 9.7 (12.11.91) 13 residents found. 2.30: $000000B6 - $00003BBC (00003B06) exec.library , exec 37.201 (28.1.92) $00003BBC - $00003BD6 (0000001A) alert.hook , alert.hook $00003C9C - $00005410 (00001774) cdtv.device , cdtv 35.14 (29.2.92) $00005484 - $000086E4 (00003260) A590/A2091 IORequest handler , SCSI/XT driver by SMB (01.05.89) $00008712 - $000090B8 (000009A6) utility.library , utility 37.3 (13.2.91) $000090F0 - $000096AE (000005BE) kludges , kludges 37.11 (14.5.92) $000096B2 - $000096EA (0000003 A690ID , a690 2.6 (29.2.92) $000096F0 - $00009D14 (00000624) battclock.resource , battclock 38.1 (10.3.91) $00009D18 - $0000A95A (00000C42) debox.library , debox 1.8 (16.10.91) $0000A966 - $0003553C (0002ABD6) playerprefs.library , playerprefs 2.2 (7.11.91) $00035544 - $00038920 (000033DC) cdfs.library , cdfs 24.9 (22.10.91) $00038B80 - $0003A966 (00001DE6) cdg.library , cdg 2.10 (3.2.92) $0003A9E6 - $0003B26C (00000886) bookmark.device , book 6.7 (14.5.92) $0003B270 - $0003C7D6 (00001566) CDTV Bootstrap , cdstrap 9.17 (14.5.92) v2.07 has the MD5 HASH of D1145AB3A0F89340F94C9E734762C198 NOTE that v2.07 is older than v2.30. I would recommend using the Cloanto v2.30 which has had the red screen patched. I can't find the HASH for cloanto v2.30 (It is not on my version of AF) but the Cloanto website has it as having the CRC32 of A5A6ED15 Last edited by alexh; 24 October 2020 at 13:02. Reason: Added v2.07 HASH |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TF536-Amiga 2000 REV 6.3,Can't get it to work | mark8564 | support.Hardware | 2 | 24 July 2020 07:25 |
WANTED - CDTV Keyboard & some CDTV parts | Dougal | MarketPlace | 0 | 23 May 2015 01:02 |
WTB: CDTV laser, or CDTV drive, or CDTV | chiark | MarketPlace | 15 | 09 February 2010 11:04 |
WTB: CDTV case / faulty CDTV / dead or alive | chiark | MarketPlace | 7 | 26 September 2009 00:07 |
EPIC working on WinUAE-CDTV, but not on a real CDTV | mk1 | support.Games | 8 | 23 March 2009 20:12 |
|
|