English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 13 September 2023, 12:39   #41
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Great, i will try this
ScottC2010 is offline  
Old 13 September 2023, 12:59   #42
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Nothing happened
I went into it's info and then put in the following
ACTIVATE=1
DEVICE=compactflash.device
FILESYSTEM=fat95
UNIT=0

In os 3.2 there is a button saying mountlist and i tried this in both positions

(I tried to find out what this is but the help does not seem to function under 3.2 - i'll start another thread for this!)
ScottC2010 is offline  
Old 13 September 2023, 13:28   #43
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Also tried UNIT=1

Tried running Card Prep too but says 'no card slot' and in the early startup menu no CF0 is listed
ScottC2010 is offline  
Old 13 September 2023, 22:52   #44
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
I'm wondering if this is the old card.resource/carddisk.device problem (I have 8MB Ram) - maybe I can modify the script to try with these two modules pulled from the 3.0 ROM
ScottC2010 is offline  
Old 14 September 2023, 02:57   #45
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Well my FrankenROM worked - I can now see the card in PrepCard - I can't do much with it as it says it's write protected - so on to sorting that

I basically extracted Card.resource and carddisk.device from 3.0 ROM and then added those to components and updated the test file to pick those up from their hash and put them in the extended ROM while at the same time removing the 3.2.2 ones from the main ROM
ScottC2010 is offline  
Old 14 September 2023, 02:58   #46
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Here's my updated test script:

# Creates a 1Mb Hyperion 3.2.2 ROM with workbench, icon, compact flash and fat95 for the A1200

auditfiles ROMs
alias SOURCEROM "$0x5c40328a"
auditfiles ADFs
alias ADF "$0xfbed53d8"

newrom 512k 255
rombase 0xF80000
add "$SOURCEROM" exec.library
add Components/BinaryChunks/1Mb_Scantable.3.2.bin
alias ENDSKIP romdata $exec.library.(ROMTAG.ENDSKIP) 4
alias ENDSKIP mid 2
patch $1Mb_Scantable.3.2.bin.(START) 0x00F80000$ENDSKIP
alias STSTART $1Mb_Scantable.3.2.bin.(START)
alias STSTART add $ROMBASE
find $exec.library 0x00F80000$ENDSKIP00F800000100000000F0000000F80000FFFFFFFF
alias FIND add $ROMBASE
find $exec.library $FIND
patch $FIND $STSTART
add "$SOURCEROM" expansion.library
add "$SOURCEROM" mathieeesingbas.library
add "$SOURCEROM" graphics.library
add "$SOURCEROM" dos.library
add "$SOURCEROM" filesystem
add "$SOURCEROM" console.device
add "$SOURCEROM" layers.library
add "$SOURCEROM" scsi.device
add "$SOURCEROM" con-handler
add "$SOURCEROM" bootmenu
add "$SOURCEROM" syscheck
add "$SOURCEROM" audio.device
add "$SOURCEROM" utility.library
add "$SOURCEROM" battclock.resource
add "$SOURCEROM" ramdrive.device
add "$SOURCEROM" mathffp.library
add "$SOURCEROM" cia.resource
add "$SOURCEROM" battmem.resource
add "$SOURCEROM" potgo.resource
add "$SOURCEROM" FileSystem.resource
add "$SOURCEROM" misc.resource
add "$SOURCEROM" disk.resource
add "$SOURCEROM" ramlib
add "$SOURCEROM" keymap.library
add "$SOURCEROM" timer.device
add "$SOURCEROM" romboot
add "$SOURCEROM" input.device
add "$SOURCEROM" keyboard.device
add "$SOURCEROM" gameport.device
add "$SOURCEROM" trackdisk.device
add "$SOURCEROM" ram-handler
add "$SOURCEROM" shell
add "$SOURCEROM" intuition.library
add "$SOURCEROM" gadtools.library
add "$SOURCEROM" system-startup
add "$SOURCEROM" syslog
add "$SOURCEROM" workbench.task
add checksum
add size
add vectors
checksum

saverom Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200.F8

auditfiles Components

newrom 512k
rombase 0xE00000
add "Components/BinaryChunks/ROMHeader_E0"
loadadf "$ADF"
add ADF:/LIBS/workbench.library
add ADF:/LIBS/icon.library
add "$0xb17ffa45"
add "$0x4911533e"
add "$0xad35cdaa"
add "$0x0cd1bd9c"
add checksum
add size
add vectors
checksum

saverom Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200.E0

romprofile single 0 1
saveprofile 512 byteswap Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200
saveprofile byteswap Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200.bs
saveprofile Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200

exit
ScottC2010 is offline  
Old 14 September 2023, 02:59   #47
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
I used single for the test rom for the emulator but then used dual for the ROMs to be burned
ScottC2010 is offline  
Old 14 September 2023, 03:11   #48
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Apparently PrepCard doesn't work with CF Cards...

If I click on the cfd file CF0 icon that i put into devsosdrivers it says device already mounted so that at least is good
I tried the following configs:
ACTIVATE=1
DEVICE=compactflash.device
FILESYSTEM=fat95
UNIT=0

and

ACTIVATE=1
DEVICE=compactflash.device
FILESYSTEM=fat95
UNIT=1

Both to no avail in order to see the card on the screen
If I try cf0: in shell it just says unknown command
ScottC2010 is offline  
Old 14 September 2023, 12:12   #49
Mikeywikey
Kickstart Hacker
 
Mikeywikey's Avatar
 
Join Date: Apr 2021
Location: Wales
Posts: 80
Hmmm...

To make sure you pick up all the modules from the original $SOURCEROM, rather than individually listing the modules "add $SOURCEROM expansion.library" etc. you can use a single "add $SOURCEROM *" and it will add any module that doesn't already exist in the target ROM (that way it will pick up the cardres/carddisk modules).

Not sure if this will help!

You can pick up an updated cardres from here http://eab.abime.net/showpost.php?p=...&postcount=226, if you add this to your F8 ROM and then "add $SOURCEROM *" it won't add the old one from 3.2.2
Mikeywikey is offline  
Old 14 September 2023, 12:24   #50
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Thank you, though the cardres I have seems to be working fine (I've used it before in 3.1 Custom ROMS) as the card slot is functional - I just need to get my CF card to be visible so must be something I am doing wrong with the CF0 icon
ScottC2010 is offline  
Old 15 September 2023, 01:12   #51
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Got a bit further - I rebuilt the ROM using the card.resource you pointed me to instead of the 3.0 one and still used the 3.0 carddisk.device and the other two files you originally used - fat95 and compactflash.device

Still no luck, but if I put a copy of fat95 into L: it does work provided you change the settings in the CF0 info file in DEVSosDrivers to just ACTIVATE=1

Seems that it's just fat95 that is the problem!

Below is my test script:

# Creates a 1Mb Hyperion 3.2.2 ROM with workbench, icon, compact flash and fat95 for the A1200

auditfiles ROMs
alias SOURCEROM "$0x5c40328a"
auditfiles ADFs
alias ADF "$0xfbed53d8"

newrom 512k 255
rombase 0xF80000
add "$SOURCEROM" exec.library
add Components/BinaryChunks/1Mb_Scantable.3.2.bin
alias ENDSKIP romdata $exec.library.(ROMTAG.ENDSKIP) 4
alias ENDSKIP mid 2
patch $1Mb_Scantable.3.2.bin.(START) 0x00F80000$ENDSKIP
alias STSTART $1Mb_Scantable.3.2.bin.(START)
alias STSTART add $ROMBASE
find $exec.library 0x00F80000$ENDSKIP00F800000100000000F0000000F80000FFFFFFFF
alias FIND add $ROMBASE
find $exec.library $FIND
patch $FIND $STSTART
add "$SOURCEROM" expansion.library
add "$SOURCEROM" mathieeesingbas.library
add "$SOURCEROM" graphics.library
add "$SOURCEROM" dos.library
add "$SOURCEROM" filesystem
add "$SOURCEROM" console.device
add "$SOURCEROM" layers.library
add "$SOURCEROM" scsi.device
add "$SOURCEROM" con-handler
add "$SOURCEROM" bootmenu
add "$SOURCEROM" syscheck
add "$SOURCEROM" audio.device
add "$SOURCEROM" utility.library
add "$SOURCEROM" battclock.resource
add "$SOURCEROM" ramdrive.device
add "$SOURCEROM" mathffp.library
add "$SOURCEROM" cia.resource
add "$SOURCEROM" battmem.resource
add "$SOURCEROM" potgo.resource
add "$SOURCEROM" FileSystem.resource
add "$SOURCEROM" misc.resource
add "$SOURCEROM" disk.resource
add "$SOURCEROM" ramlib
add "$SOURCEROM" keymap.library
add "$SOURCEROM" timer.device
add "$SOURCEROM" romboot
add "$SOURCEROM" input.device
add "$SOURCEROM" keyboard.device
add "$SOURCEROM" gameport.device
add "$SOURCEROM" trackdisk.device
add "$SOURCEROM" ram-handler
add "$SOURCEROM" shell
add "$SOURCEROM" intuition.library
add "$SOURCEROM" gadtools.library
add "$SOURCEROM" system-startup
add "$SOURCEROM" syslog
add "$SOURCEROM" workbench.task
add checksum
add size
add vectors
checksum

saverom Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200.F8

auditfiles Components

newrom 512k
rombase 0xE00000
add "Components/BinaryChunks/ROMHeader_E0"
loadadf "$ADF"
add ADF:/LIBS/workbench.library
add ADF:/LIBS/icon.library


# In this order FFS card.resource carddisk.device compactflash.device fat95

add "$0x809523cc"
add "$0xedd1b4c5"
add "$0x4911533e"
add "$0xad35cdaa"
add "$0x0cd1bd9c"
add checksum
add size
add vectors
checksum

saverom Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200.E0

romprofile dual 0 1
saveprofile 512 byteswap Tests/Output/Hyperion.3.2.2.1Mb.PCMCIA.A1200

exit

Last edited by ScottC2010; 15 September 2023 at 02:07.
ScottC2010 is offline  
Old 15 September 2023, 01:22   #52
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Another question - if I want to point to fat95 in ROM do I just put in the info file FILESYSTEM=fat95 or do I need something like FILESYSTEM=ROM:fat95

It's odd that the CF0 icon only has ACTIVATE=1 and it works - i can use my CF card, but only if fat95 is in L:

Is somewhere else just pointing to L: or is there some sort of mountlist / or when i used the install of fat95 it put another file somewhere? (I used the fat95 installer on the PCMCIA-CF-DriverDisk.adf)

I wonder why it's not picking it up from the ROM - i can see fat95 in system configuration

I've moved this to a new thread dedicated to the CF0 problem:
https://eab.abime.net/showthread.php...09#post1642209

Last edited by ScottC2010; 15 September 2023 at 12:16.
ScottC2010 is offline  
Old 13 October 2023, 04:18   #53
admiral
Engineer
 
Join Date: Oct 2018
Location: Shadow realm
Posts: 165
I finally know that:

Code:
add "$0xad35cdaa"
add "$0x0cd1bd9c"
Are 'compactflash.device' and 'fat95' respectively.

But where do these files come from?

Why do I not have them?

Or maybe I have them but need to extract them manually from some Workbench floppy?
admiral is offline  
Old 13 October 2023, 13:06   #54
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Floppy disk

Available in these files:

https://aminet.net/package/driver/media/CFD133 for the compact flash

https://aminet.net/package/disk/misc/fat95

ScottC2010 is offline  
Old 13 October 2023, 22:06   #55
admiral
Engineer
 
Join Date: Oct 2018
Location: Shadow realm
Posts: 165
Quote:
Originally Posted by ScottC2010 View Post
Thank you.

Now to wait for Aminet not to be down (it sure is a lot lately)
admiral is offline  
Old 14 October 2023, 22:50   #56
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Thumbs up

Quote:
Originally Posted by admiral View Post
Thank you.

Now to wait for Aminet not to be down (it sure is a lot lately)
I know its been like that a lot
ScottC2010 is offline  
Old 15 October 2023, 04:11   #57
admiral
Engineer
 
Join Date: Oct 2018
Location: Shadow realm
Posts: 165
Quote:
Originally Posted by ScottC2010 View Post
I know its been like that a lot
All good. Aminet is back up, I got the files, and I was able to build the RATs, getting matching CRCs.
admiral is offline  
Old 15 October 2023, 22:59   #58
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Thumbs up

Quote:
Originally Posted by admiral View Post
All good. Aminet is back up, I got the files, and I was able to build the RATs, getting matching CRCs.
ScottC2010 is offline  
Old 15 October 2023, 23:06   #59
admiral
Engineer
 
Join Date: Oct 2018
Location: Shadow realm
Posts: 165
Quote:
Originally Posted by ScottC2010 View Post
Furthermore, I copied the RAT into a new one, added NoClick module, and confirmed via winuae that it does the job.

(but only after dos.library starts... strap still clicks)

admiral is offline  
Old 17 October 2023, 00:41   #60
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Let me know how you get on with Fat95 as i couldn't get it to work in Rom
ScottC2010 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 13:19.

Top

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