stefandrissen / SAM-MOD-player

SAM MOD player, an Amiga MOD player for the SAM Coupé
https://www.worldofsam.org/products/sam-mod-player
15 stars 0 forks source link

BDOS record access by number/browser in file selector #9

Closed dandoore closed 2 years ago

dandoore commented 2 years ago

I foolishly have all my MOD files at about record 191 - any way of being able to select a record in a file browser of go to it by number?

stefandrissen commented 2 years ago

I was thinking about this too while browsing the demo package at https://sam.speccy.cz/demo.html, which has mods starting at record 50 or so.

The file browser is very basic and fine for floppy disks. The mass storage record handling was bolted on using mainly existing functionality.

My knee jerk reaction is to add symbol+cursor to jump 10 records, with maybe shift+cursor to jump 100 records?

dandoore commented 2 years ago

That works for me, although having Shift jump in 10's, Symbol 100's makes more sense to me but hey, I'll take anything other than single stepping :-)

stefandrissen commented 2 years ago

OK, I've implemented a buggy version. So it's like the nineties all over again and I'm having to listen to all the mods I run into while reaching the boundaries. :-)

I've attached an initial version:

modplayer.zip

dandoore commented 2 years ago

That works a treat :-) - I'll poke at it some more tomorrow