Difference between revisions of "F8tool"

From veswiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
F8tool is an assembler AND disassembler to assemble your code into a binary file and to make binary files understandable by translating it into rudimentary assembler again.
 
F8tool is an assembler AND disassembler to assemble your code into a binary file and to make binary files understandable by translating it into rudimentary assembler again.
  
The disassembly does mask out data areas, maybe not all but some.  
+
The disassembly attempts to mask out data areas if using the -s argument.  
  
 
Here are the instructions to run it: <br>
 
Here are the instructions to run it: <br>
  
"f8tool asm file.asm file.bin" will compile file.asm and give you file.bin.
+
'''"f8tool asm file.asm file.bin" will compile file.asm and give you file.bin.'''
  
"f8tool dis file.bin 2048 > file.asm" will disassemble file.bin giving you
+
'''"f8tool dis file.bin 2048 > file.asm" will disassemble file.bin giving you
file.asm starting at address $0800.
+
file.asm starting at address $0800.'''
  
"f8tool dis file.bin 2048 > file.asm -s" will disassemble file.bin and attempt
+
'''"f8tool dis file.bin 2048 > file.asm -s" will disassemble file.bin and attempt
to mask out the data areas.
+
to mask out the data areas.'''
  
You can also use hex notation 0x0800 instead of 2048 - should you want to.
+
'''You can also use hex notation 0x0800 instead of 2048 - should you want to.'''
  
  
[https://channelf.se/files/channelf/f8tool.zip  F8 Tool package including source code (.zip, 221kB)]
+
[https://channelf.se/veswiki/images/f/f7/F8TOOL_2.0.zip  F8 Tool package including source code (.zip, 358KiB)]
  
  
 
F8tool was written by [[Peter Trauner]], who also wrote [[Homebrew:Tetris|Tetris]] for the Channel F.
 
F8tool was written by [[Peter Trauner]], who also wrote [[Homebrew:Tetris|Tetris]] for the Channel F.

Latest revision as of 00:39, 27 June 2026

F8tool is an assembler AND disassembler to assemble your code into a binary file and to make binary files understandable by translating it into rudimentary assembler again.

The disassembly attempts to mask out data areas if using the -s argument.

Here are the instructions to run it:

"f8tool asm file.asm file.bin" will compile file.asm and give you file.bin.

"f8tool dis file.bin 2048 > file.asm" will disassemble file.bin giving you file.asm starting at address $0800.

"f8tool dis file.bin 2048 > file.asm -s" will disassemble file.bin and attempt to mask out the data areas.

You can also use hex notation 0x0800 instead of 2048 - should you want to.


F8 Tool package including source code (.zip, 358KiB)


F8tool was written by Peter Trauner, who also wrote Tetris for the Channel F.