English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 19 August 2018, 12:43   #1
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,160
HW banging IDE harddisk read/write asm source code (FFS/OFS)

I already have some code like this (Rob Northen CD/HD IO for CD32) but:

- it only reads files, not file parts
- it's mixed with CD & floppy stuff & would need a lot of reverse engineering to understand & adapt

I know that HRTMon has an IDE mode, and since the source is available, I thought: I'll search in the source. But couldn't locate it. Maybe my version didn't have IDE support anymore (maybe was removed at some point because it only could cope with FFS/OFS)

This is to enhance CD32load hard drive mode. Currently if the game uses diskfiles that don't fit in the remaining memory (ex: 980kb) then it won't work. With a code like this, CD32load would be able to run games from hard drive with only 512k RAM (or even less) more than the original game requirements (for the CD32load run-time + stack)
jotd is offline  
Old 19 August 2018, 13:09   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Check Read_Block and Write_Block in hrtmon sources. But better convert it to use LBA mode first, LBA to CHS conversion is pointless today. (Check ATA-1 spec register description, "d0791r4c-ATA-1.pdf". ATA PIO is really simple to use)
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
Undelete for OFS/FFS-disks? oRBIT Nostalgia & memories 5 09 April 2018 10:48
OFS/FFS/SFS/PFS Editor Dialog Leandro Jardim request.UAE Wishlist 2 25 January 2014 09:16
harddisk write protected!? jitrnic support.WinUAE 3 24 January 2010 19:02
FFS/OFS OS 1.3 Problem. Pheonix support.Hardware 13 03 October 2009 08:43
OFS/FFS and 3.5"/2.5" Hard Disks with bad sectors Supamax support.Other 6 27 April 2009 17:11

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:21.

Top

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