I was thinking I'd write a little image selector for the Sharp X1, which would just list the available disk images on the card and allow you to select one for each drive. Should be pretty straight forward...
I've read the direct access document and have a question:
If I wanted to list the disk images and their 'slots', do I really have to use the direct access mode, process Microsoft's horrible file system, find the HxC .cfg file, and then parse the ShortDirectoryEntry structures? Or am I missing an easier way of doing this?
There's the nice CMD_SELECT_IMG_INDEX function, so I was rather hoping for a function to take an image index and return something like a ShortDirectoryEntry.
Writing new selector software: question
Re: Writing new selector software: question
Some examples can be found there :
http://sourceforge.net/p/hxcfloppyemu/c ... _selector/
http://sourceforge.net/p/hxcfloppyemu/c ... _selector/
Re: Writing new selector software: question
Thanks Jeff.
Maybe I can just re-use the FAT library from the CPC version. Would make life easier.
Maybe I can just re-use the FAT library from the CPC version. Would make life easier.
Re: Writing new selector software: question
You should have a look to this too :Rink wrote:Thanks Jeff.
Maybe I can just re-use the FAT library from the CPC version. Would make life easier.
http://pulkomandy.tk/projects/thomson/b ... order=name
Re: Writing new selector software: question
Ah, that one looks even better for me to work off.
Cheers mate. Time to get coding!
Cheers mate. Time to get coding!
Re: Writing new selector software: question
Thought I'd post and say that I've made some decent progress so far. The software doesn't look that much like the other tools, (hey, 320x200 pixels - what you gonna do? ) but is shaping up pretty cool.
On to the bit I've been dreading... the FAT file system.
Just so you know that I don't just ask a ton of questions and then disappear. I am working.
On to the bit I've been dreading... the FAT file system.
Just so you know that I don't just ask a ton of questions and then disappear. I am working.
Re: Writing new selector software: question
I for one appreciate the effort, Rink. Keep up the good work. If you need a tester then drop me a pm.
Arnie.
Arnie.
Re: Writing new selector software: question
Me too !Arnie wrote:I for one appreciate the effort, Rink. Keep up the good work.
Arnie.
Re: Writing new selector software: question (X1)
Cool! Thanks for posting guys - it does make a difference to me to know that some people are interested.
I'd still write the software even if no one else wanted it (because I need it! ) but this is extra motivation to do the job well.
I'd still write the software even if no one else wanted it (because I need it! ) but this is extra motivation to do the job well.
Re: Writing new selector software: question
Just a quick update: I got side-tracked fighting with the X1's programmable character generator trying to put in a nice HxC logo.
Gave up on that for now (will hit it again after the main part of the code is written), and am back to working on the FAT library integration.
Gave up on that for now (will hit it again after the main part of the code is written), and am back to working on the FAT library integration.