Jump to content
IGNORED

Latest 128-byte .asm files?


Propane13

Recommended Posts

Hey folks,

 

If I'm remembering correctly, a long time back, some helpful souls made some things like:

16k_header.asm

32k_header.asm

48k_header.asm

 

Where the bits were configurable and you could "include" your precompiled bin and run it through DASM.

Does anyone know if these still exist?  Are they up-to-date?

 

I have a very old 32K one, so I'm curious if there's something new out there.  Here's a snippet of what I'm talking about:

 

processor 6502
org $F000

; This module inserts the 128-byte field for
; use on the V7800 emulator

; 0      Header version     - 1 byte
.byte $01

; 1..16  "ATARI7800      "  - 16 bytes
.byte $41,$54,$41,$52,$49 ; Atari
.byte $37,$38,$30,$30 ; 7800
.byte $20,$20,$20,$20,$20,$20,$20 ; (space)

; 17..48 Cart title         - 32 bytes
; Ours is "32 kilobytes header"
.byte $33,$32 ; 32
.byte $20 ; (space)
.byte $6B,$69,$6C,$6F ; kilo
.byte $62,$79,$74,$65,$73 ; bytes
.byte $20 ; (space)
.byte $68,$65,$61,$64,$65,$72 ; header
.byte $20,$20,$20,$20,$20,$20,$20 ; (space)
.byte $20,$20,$20,$20,$20,$20 ; (space)

 

Give all of the recent improvements, I was curious if there's an updated version out there I could reference.

 

Thanks!

 

Link to comment
Share on other sites

Well, there's the latest spec at 7800.8bitdev.org.

 

It's not quite what you're asking for,  but it's easy enough to update. Dasm understands ascii strings in .byte, so you don't need to break text down into hexadecimal like that. Just put quotes around your 32 characters. 

 

There's also 7800header, which can either interactively maka a header, or it can read from a config file and do it silently. The latter is how 7800basic programs get their headers. 

Link to comment
Share on other sites

4 hours ago, RevEng said:

Well, there's the latest spec at 7800.8bitdev.org.

 

That's very helpful, thanks!

 

I should note there are 2 typos:

controller 2 type - 1 byte   56 / 0x38
TV type           - 1 byte   47 / 0x39 ; decimal value should be 57, not 47
save device       - 1 byte   48 / 0x3A ; decimal value should be 58, not 48

I'm not sure who maintains this page, but it may be worth a small fix for the confusion.

 

Regardless, I'll definitely use this as my go-to.  So, thanks again!

Edited by Propane13
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...