English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 19 February 2018, 22:30   #1
Registered User
Join Date: Aug 2004
Posts: 2,972
Virtual RDB and non-512-byte sectors

Looking at the changes for WinUAE 3.6.1b5, there is this:
- Virtual RDB is now supported with dynamic (VHD) hardfiles. (Virtual RDB: if partition hardfile is mounted to any hardware emulated IDE or SCSI controller, virtual RDB is automatically added. This enables to boot/mount partition hardfiles even when using hardware emulated HD controllers)
- Virtual RDB now also includes FSHD and LSEG blocks if hardfile FileSys path is non-empty. (Makes filesystem compatibility testing much faster and easier when using non-UAE controllers)

Am I right in thinking the current virtual RDB support is hard-coded for 512-byte sectors only? So if, say, you have a partition with 1024-byte filesystem block size, that wouldn't work with virtual RDB?

If you need to emulate a drive with 512 bytes/sector (e.g. for emulated IDE controller), it should be possible to support >512-byte (power of 2) filesystem blocks by adjusting the fake geometry in the PartitionBlock.

But 256-bytes/block partition HDFs (some FFS versions can work with that) can't work with the current virtual RDB code at all (I think).
mark_k is online now  
Old 19 February 2018, 23:42   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,203
Now it supports other block sizes. RDSK/PART only uses first 256 bytes so they should work with 256 blocksize. I also changed LSEG to only use up to 512 bytes or lower. (Assuming some loaders ignore LSEG block's size field)
Toni Wilen is offline  

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Juggler movie demo v2.0 BYTE by BYTE! TjLaZer support.Demos 3 30 November 2017 13:06
finegrain_cpu_speed=512 DamienD support.WinUAE 2 27 March 2017 20:27
Enable RDB mode and Surfaces/Sectors/Reserved mark_k support.WinUAE 1 17 February 2013 18:51
RDB hardfiles with non-512-byte sectors mark_k support.WinUAE 1 16 February 2013 15:18
AMRAM-16/expansion 512 (problem) Anemos support.Hardware 2 09 May 2010 12:51

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 09:46.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.05846 seconds with 15 queries