+Propane13 Posted February 19, 2020 Share Posted February 19, 2020 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! Quote Link to comment Share on other sites More sharing options...
RevEng Posted February 20, 2020 Share Posted February 20, 2020 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. Quote Link to comment Share on other sites More sharing options...
+Propane13 Posted February 20, 2020 Author Share Posted February 20, 2020 (edited) 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 February 20, 2020 by Propane13 Quote Link to comment Share on other sites More sharing options...
RevEng Posted February 20, 2020 Share Posted February 20, 2020 You're welcome - thanks back at you for the correction! It's pretty much just me doing the technical updates at the 7800.8bitdev.org wiki, though trebor hosts his 7800 rom pack there too. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.