24 October 2020, 18:11 | #61 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
Will try in an hour or so. Not familiar with HxD, one the cdtv.device opens do I just find (ctrl f) $407C and change value manually? Sorry, still learning, can you please suggest resources to start with to learn for amiga?
|
24 October 2020, 18:23 | #62 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
|
No that is the v2.30 ROM file offset not the cdtv.device file offset. (A file offset is how many bytes into the file the location you want to modify is)
The byte you're going to change in cdtv.device v35.14 file is byte offset is 00000491 Scroll down until you see 00000490 in the offset (h) column and you should see the following pattern : Code:
Offset(h) 00 01 0000048C 70 00 0000048E 4E 75 00000490 72 00 <= This is the byte you're going to change 00000492 2F 0E 00000494 2C 78 File Save As Last edited by alexh; 25 October 2020 at 10:15. Reason: Updated after finding byte offset |
24 October 2020, 18:33 | #63 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,340
|
I've pushed a change in my python rom patcher. All offsets from the list are now supported (to patch a full ROM). I guess cdfs.library patch is kind of useless...
Code:
patch_cdtv_rom.py "CDTV Extended-ROM v2.3 (1992)(Commodore)(CDTV).rom" patched.rom |
24 October 2020, 18:38 | #64 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
|
Quote:
I think bartekmalysz needs to try just a patched cdtv.device and cdfs.library first. Plus I'm not 100% sure on his method. |
|
24 October 2020, 19:05 | #65 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
ok, so when trying to patch full rom I still get checksum error under romsplit. Should I just use the script on each file separately? Sorry for being daft and thank for your patience.
I also wanted to edit by hand but I can't see these memory values. Edit: I understand that without TL866 I won't get any further. Ordered one but may be a week before I got it. I have good eeproms and pin adapter from go0se, need anything else? Last edited by bartekmalysz; 24 October 2020 at 20:56. |
24 October 2020, 19:37 | #66 | |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,667
|
Quote:
@all I don't think that CD boot is possible without a lots of work. But, maybe these two are realistic goals? Extended roms enabled, boot from HD use CD drive after that. Extended roms disabled, boot from HD use CD drive after that. If roms are disabled, cd player is not useable? But both are acceptable results. Easiest way would be use patched extended roms. |
|
24 October 2020, 22:04 | #67 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
|
24 October 2020, 22:46 | #68 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
|
You didn't follow the instructions. You didn't set a width of 2 bytes *AND* you loaded the wrong file!
Last edited by alexh; 25 October 2020 at 09:32. |
24 October 2020, 22:57 | #69 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,340
|
problem is: you can't split a patched ROM. You can only split unpatched ROM, and in that case, identify original hex strings in the ROMs using the offsets and find some in cdtv.device (cdfs.library is already patched properly I hope so, I used the same method)
but as Alexh said I'm not sure of this method. AND if this method works, it means that the method using AnyMEM to block fastmem, load device and use AnyMEM again to unblock would work, without needing to patch the files (unless the devices use mem allocation for buffers after init, which is possible but bad practice performance-wise for this kind of program) |
24 October 2020, 23:49 | #70 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
Guys, I absolutely appreciate your help, you're an absolute legends. Will continue tomorrow and will try to edit both files manually.
I did try with anymem today, but I guess it needs to be added in startup and is not reboot persistent. Not sure I understand correctly, but what needs to happen is to boot CDTV with enabled extended rom, disabled TF ram, so the driver can be loaded into specific chip ram location, once this is done, another command to add fast mem? |
25 October 2020, 00:18 | #71 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,340
|
one thing I wanted to test is using a CDTV + HD configuration + CD drive on winuae
With 1.3 and extended 1.0 ROM (unpatched, of course!), using a 68030 + Z3 fast allows to boot from HD and read a CD in CD0: I wanted it to fail but it did not. |
25 October 2020, 00:27 | #72 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,667
|
Show stopper is that there is no Zorro 3 support with KS1.3, as far I know?
|
25 October 2020, 00:30 | #73 |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
Tf536 doesn't boot on 1.3. This is what I get with KS 3.1, Mobo2.3, extended rom 2.3
|
25 October 2020, 09:02 | #74 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
|
I don't think the Z3 FAST RAM option in WinUAE requires any OS support. It refers to the fact that it is 32-bit wide and mapped to what later would be the Z3 address space.
Last edited by alexh; 25 October 2020 at 10:12. Reason: Deleted 2nd half of msg |
25 October 2020, 09:38 | #75 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Quote:
Only KS 2.0+ knows what to do with Z3 boards. KS 1.x leaves them unconfigured (and if there is any Z2 boards "behind" it, they are also left unconfigured) |
|
25 October 2020, 09:59 | #76 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
|
Toni thanks for the correction.
Quote:
I think when testing this we'd need a WinUAE setup more TF536 like? Perhaps use the WinUAE option "Advanced Memory Settings"? I don't know how to use it but there is a "Processor Slot Fast RAM" option and and a place to insert "Autoconfig data" (which maybe we could get from TF? Or capture it from a TF536?). But as I said I don't know how to use these WinUAE options. Last edited by alexh; 25 October 2020 at 10:25. |
|
25 October 2020, 10:05 | #77 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
|
I found time to setup WinUAE and install RomSplit by Doobrey.
The byte offset of the Allocmem TF said he patched in cdtv.devce 35.14 is byte offset $491 in the extracted file (I've updated my posts earlier where I said I didn't know where it was) Last edited by alexh; 25 October 2020 at 10:25. |
25 October 2020, 10:29 | #78 | |
Registered User
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
|
Quote:
I just patched cdtv.device, pointed CD0 to it, the WB doesn't boot, just hangs on black screen |
|
25 October 2020, 10:37 | #79 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,340
|
yes, Z3 memory is not mapped. avail reveals no fast memory at bootup...
winuae memory settings show: Configured 32-bit address space: 0M, reserved: 1792M, Z3 available: 1728M (UAE), 960M (Real) even with Z3 configured with 64 mb... my "full power" winuae setup shows Configured 32-bit address space: 913M, reserved: 1792M, Z3 available: 1648M (UAE), 880M (Real) I really don't know what's the difference / how to activate 32 bit address space with that kick 1.3 CDTV setup that otherwise boots and shows Z2 RAM if set. If someone can solve this problem, then we have a potentially bootable CDTV setup with Z3 fast (and 68040) and we can try the patched ROM. Last edited by jotd; 25 October 2020 at 10:45. |
25 October 2020, 12:45 | #80 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
|
Configure non-autoconfig board at fixed address and then use amigados addmem-command to add it? But note that some emulated DMA controllers don't have 24-bit limit, some do (CDTV is one that does not emulate 24-bit limit).
But I already started implementing 24/32-bit option for Z2/A500/CDTV DMA controllers and also DMA capable option for RAM banks. (Only missing part is that "fixed" RAM banks don't yet have support for extra configuration metadata) |
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 |
|
|