English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 01 December 2010, 11:21   #1
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 750
Hardware File Loader

Does anyone have code for a hardware file loader? Wanting to run some preliminary tests on a little project I'm working on.
h0ffman is online now  
Old 01 December 2010, 12:30   #2
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Watcha h0ffman.

When you say "hardware file loader" do you mean: an asm routine that will let you load files using calls to the OS routines for loading a file or do you mean an asm trackloader that will let you load data that you've written to a disk...?

EDIT: for asm OS routines for opening files, check this .pdf manual:

http://amiga-manuals.xiik.net/ebooks...0eBook-ENG.pdf

and look in the contents for Disk Operations where there are some source code snippets for what you'll want.

For the trackloader option, drop me a PM - I can send you my code.

Last edited by pmc; 01 December 2010 at 12:40. Reason: Added some info
pmc is offline  
Old 01 December 2010, 12:55   #3
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by pmc View Post
When you say "hardware file loader" do you mean: an asm routine that will let you load files using calls to the OS routines for loading a file or do you mean an asm trackloader that will let you load data that you've written to a disk...?
What he means is a custom hardware loader which loads files without the OS. Basically a trackloader which handles normal files instead of track/sector offsets. Eg. something like:

lea name(pc),a0
lea $60000,a1
bsr LoadFile
...
rts

name: dc.b "df0:yay.exe",0

And Loadfile would then find the file on disk and load it without using the OS.

Last edited by StingRay; 01 December 2010 at 13:01. Reason: typo
StingRay is offline  
Old 01 December 2010, 13:01   #4
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Oh, OK.

Scratch what I said then h0ff.
pmc is offline  
Old 01 December 2010, 15:48   #5
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
Quote:
Originally Posted by StingRay View Post
What he means is a custom hardware loader which loads files without the OS. Basically a trackloader which handles normal files instead of track/sector offsets.
Yes, he could mean that, but it's not becoming 100% clear.
It is also unclear if he wants to read from 3.5" floppy disks, from hard disk, or any other kind of device supported by the OS.
I remember I wrote such a trackloader which supports loading files from OFS or even FFS about 20 years ago, but I would have to search it on old backups.
phx is offline  
Old 01 December 2010, 15:59   #6
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by phx View Post
Yes, he could mean that, but it's not becoming 100% clear.
It is also unclear if he wants to read from 3.5" floppy disks, from hard disk, or any other kind of device supported by the OS.
Common sense tells me that he's looking for what I described in my first post. Also, he said he's working on a little project and I don't think one would need a direct IDE/SCSI harddisk loader for such a project (and it wouldn't really make sense anyway).
StingRay is offline  
Old 01 December 2010, 17:06   #7
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
I know for a fact Stingray is right, because Hoffman has used a term I used to use around him years ago.

He wants a fileloader that will load files from an AmigaDOS disk without having to use the OS to do it.

Case closed, end of!

Theres plenty around Ian, either ask Stingray for his fileloader, or use N.O.M.A.D's final fileloader from any of his later cracks (easy to remove and work out how to use it), or use the RNC Fileloader, its a bit bigger than other fileloaders, but its got built in load/save functionality and can also access directories unlike most fileloaders.
Galahad/FLT is offline  
Old 01 December 2010, 17:38   #8
WayneK
Registered User
 
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 366
Or visit flashtro.com, and go to the sources->loaders section, and download one from there...
WayneK is offline  
Old 01 December 2010, 23:41   #9
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
When I said N.O.M.A.D's loader, its actually a recoded version of Weetibix's of Oracles loader.
Galahad/FLT is offline  
Old 02 December 2010, 16:40   #10
h0ffman
Registered User
 
Join Date: Aug 2008
Location: Salisbury
Posts: 750
Top marks to StringRay and Phil, spotted that a mile off.

Cheers for the pointers, I'll get on the hunt
h0ffman 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
ASM: Hardware Track Loader Vortex Coders. Tutorials 175 18 October 2022 19:18
HD loader example st! Coders. General 4 16 October 2012 21:56
Ripping the RNC sector loader... h0ffman Coders. General 13 07 September 2011 23:00
HELP........with getting winuae loader to work. mrbailey1890 support.WinUAE 3 08 July 2009 23:47
IFF Loader v1.0.0 is released... :) Steve News 11 17 September 2004 19:10

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 20:59.

Top

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