Skip to content

mur4ik18/FPFN-6809

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual File system plus text reader for KIT MICROPROCESSEUR 6809

I have a kit

I have a kit that you can see on this screenshot.

./2025-06-06_11-03-38_screenshot.png

Idea of the project:

To build a virtual file system that permet to stock binaries in the memory and access them by using an application, that can reads files and modify them in the future.

Memory mapping

0xFFFF ---------
       |       |
       |ROM 16k|
       |       |
0xC000 ---------
       |       |
       | EMPTY | For new devices
       |       |
0xA000 ---------
       |  I/O  |
0x8000 ---------
       |  SYS  |
0x7C00 |+++++++|
       |       |
       |       |
       |RAM 32K|
       |       |
       |       |
0x0000 ---------

In my disopsition I have only 0x0000-0x7C00 =>

(+ 
 (* 7  (expt 16 3)) 
 (* 12 (expt 16 2)) 
 (* 0  (expt 16 1)) 
 (* 0  (expt 16 0))
)
; 31744

So, I have only 31744 bytes for all, for files storage. In ROM I will have my application that will create file system and manage this.

6809 registers

  • A accum (8Bits)
  • B accum (8Bits)
  • D accum (16Bits)
  • X index (16Bits)
  • Y index (16Bits)
  • DP page register (8Bits)
  • CC state (8Bits)
  • U stack pointer user
  • S stack pointer System

Virtual file system

It should store in ram some modifiables files. So I need to know where to find thats files.

#catalog namestart locsize
111 byte2 byte3 byte
.....
4

16 bytes for each element of catalog.

Catalog position + #112 = last element of catalog.

Files

Name of file shouldn’t containe any spaces. Each file is txt, so you don’t need to add it. Moreower you are limited in length by 10 bytes (10 characters).

Size of each file is limited by 4096 bytes. End of the file should be indicated by three zeros.

$00 $00 $00

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published