new adam subtype for EOS format disk/tape?

Post Reply
tschak909
Well known member
Posts: 168
Joined: Sun Sep 09, 2018 5:44 pm

new adam subtype for EOS format disk/tape?

Post by tschak909 »

Hello. I've circled back around to FujiNet development on Adam again, and am putting this thread here, while I get certain things together.

The current +coleco -subtype=adam will generate a bootable DDP image, this is great for a single monolithic game, and for the various apps we've made thus far.

There is actually a filesystem for EOS baked into the ROM, and you can initialize a tape or disk with it. It starts on block 1, and can be anywhere from 1 to 8 blocks in length, containing a consecutive set of directory entries in this format:

Code: Select all

#define EOS_FILENAME_LEN 12

/* EOS directory entry */                                                                                                            
typedef struct _directoryEntry                                                                                                       
{                                                                                                                                    
  char filename[EOS_FILENAME_LEN];                                                                                                   
  unsigned char attributes;                                                                                                          
  unsigned long start_block;                                                                                                         
  unsigned short allocated_blocks;                                                                                                   
  unsigned short blocks_used;                                                                                                        
  unsigned short last_block_bytes_used;                                                                                              
  unsigned char year;                                                                                                                
  unsigned char month;                                                                                                               
  unsigned char day;                                                                                                                 
} DirectoryEntry;                                                                                                                    
The boot loader for SmartBASIC uses the EOS filesystem routines to look for the file, and to load it into memory (see attached PDF ZIP).

Maybe this could be folded into appmake...

-Thom
You do not have the required permissions to view the files attached to this post.
User avatar
dom
Well known member
Posts: 1966
Joined: Sun Jul 15, 2007 10:01 pm

Re: new adam subtype for EOS format disk/tape?

Post by dom »

More information is here: https://wiki.console5.com/tw/images/b/b ... Manual.pdf chapter 3, section 4.

What's your use-case for this?
tschak909
Well known member
Posts: 168
Joined: Sun Sep 09, 2018 5:44 pm

Re: new adam subtype for EOS format disk/tape?

Post by tschak909 »

To allow the CONFIG program on the FujiNet to be broken up into smaller programs that can run from any adam file manager.
-Thom
tschak909
Well known member
Posts: 168
Joined: Sun Sep 09, 2018 5:44 pm

Re: new adam subtype for EOS format disk/tape?

Post by tschak909 »

Today am doing an exploration to see if I can get a Z88DK binary to boot from the EOS filesystem.
-Thom
Post Reply