English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 24 October 2020, 18:11   #61
bartekmalysz
Registered User
 
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
Quote:
Originally Posted by alexh View Post
You could try the one patch to cdtv.device ($407C : $7202) as well?

If that doesn't work I don't know what to try other than burning ROMs.

I don't have a TF536 so I can't try here.
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?
bartekmalysz is offline  
Old 24 October 2020, 18:23   #62
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
Quote:
Originally Posted by bartekmalysz View Post
when the cdtv.device opens do I just find (ctrl f) $407C
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
Highlight the 72 00 and type 72 02.

File Save As

Last edited by alexh; 25 October 2020 at 10:15. Reason: Updated after finding byte offset
alexh is offline  
Old 24 October 2020, 18:33   #63
jotd
This cat is no more
 
jotd's Avatar
 
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
jotd is offline  
Old 24 October 2020, 18:38   #64
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
Quote:
Originally Posted by jotd View Post
I've pushed a change in my python rom patcher. All offsets from the list are now supported (to patch a full ROM).
Nice. I might try and see if it still works as expected in WinUAE. (If you've not already)

Quote:
Originally Posted by jotd View Post
I guess cdfs.library patch is kind of useless...
I think bartekmalysz needs to try just a patched cdtv.device and cdfs.library first.

Plus I'm not 100% sure on his method.
alexh is offline  
Old 24 October 2020, 19:05   #65
bartekmalysz
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?
Attached Thumbnails
Click image for larger version

Name:	gf.PNG
Views:	86
Size:	82.3 KB
ID:	69478  

Last edited by bartekmalysz; 24 October 2020 at 20:56.
bartekmalysz is offline  
Old 24 October 2020, 19:37   #66
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,667
Quote:
Originally Posted by bartekmalysz View Post

I set CD0 as follows:

Device=DEVS:cdtv.device
FileSystem=L:cdfs.library
BufMemType=2
Unit=2
Active=1
Those are file paths, if they are correct you are OK. Do you use any file manager? Like DirOpus, Dirmaster, etc?

@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.
utri007 is offline  
Old 24 October 2020, 22:04   #67
bartekmalysz
Registered User
 
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
Quote:
Originally Posted by bartekmalysz View Post

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?
Unless doable with RPi? I have a few laying around, breadboard and some parts as well.
bartekmalysz is offline  
Old 24 October 2020, 22:46   #68
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
Quote:
Originally Posted by bartekmalysz View Post
I also wanted to edit by hand but I can't see these memory values.
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.
alexh is offline  
Old 24 October 2020, 22:57   #69
jotd
This cat is no more
 
jotd's Avatar
 
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)
jotd is offline  
Old 24 October 2020, 23:49   #70
bartekmalysz
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?
bartekmalysz is offline  
Old 25 October 2020, 00:18   #71
jotd
This cat is no more
 
jotd's Avatar
 
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.
jotd is offline  
Old 25 October 2020, 00:27   #72
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,667
Quote:
Originally Posted by jotd View Post
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.
Show stopper is that there is no Zorro 3 support with KS1.3, as far I know?
utri007 is offline  
Old 25 October 2020, 00:30   #73
bartekmalysz
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
Attached Thumbnails
Click image for larger version

Name:	20201019_223640.jpg
Views:	105
Size:	284.9 KB
ID:	69480  
bartekmalysz is offline  
Old 25 October 2020, 09:02   #74
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
Quote:
Originally Posted by utri007 View Post
Show stopper is that there is no Zorro 3 support with KS1.3, as far I know?
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
alexh is offline  
Old 25 October 2020, 09:38   #75
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,546
Quote:
Originally Posted by alexh View Post
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.
Of course autoconfig needs OS support

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)
Toni Wilen is online now  
Old 25 October 2020, 09:59   #76
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,432
Toni thanks for the correction.

Quote:
Originally Posted by jotd View Post
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.
So JOTD that could explain why it worked? If the Z3 fast is not mapped, then the OS would only use CHIP RAM? Which we know works.

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.
alexh is offline  
Old 25 October 2020, 10:05   #77
alexh
Thalion Webshrine
 
alexh's Avatar
 
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.
alexh is offline  
Old 25 October 2020, 10:29   #78
bartekmalysz
Registered User
 
Join Date: Oct 2020
Location: Northwich, UK
Posts: 42
Quote:
Originally Posted by alexh View Post
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)
Many thanks,


I just patched cdtv.device, pointed CD0 to it, the WB doesn't boot, just hangs on black screen
bartekmalysz is offline  
Old 25 October 2020, 10:37   #79
jotd
This cat is no more
 
jotd's Avatar
 
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.
jotd is offline  
Old 25 October 2020, 12:45   #80
Toni Wilen
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)
Toni Wilen is online now  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12197 seconds with 14 queries