Family Basic Tapes and Misc

Started by ozidual, April 29, 2021, 08:27:46 am

Previous topic - Next topic

ozidual

April 29, 2021, 08:27:46 am Last Edit: May 01, 2021, 08:54:22 pm by ozidual
I'm working on uploading the data and audio for as many Family Basic tapes as I can find.  I've uploaded:

3 Hudson collections here:
Vol 1: https://archive.org/details/hudson-collection-vol-1-data-and-audio-ozidual
Vol 2: https://archive.org/details/hudson-collection-vol-2-lode-runner-world-data-and-audio-ozidual
  (missing 1 Lode Runner level)
Vol 3: https://archive.org/details/hudson-collection-vol-3-data-and-audio-ozidual

Data Recorder Tape: https://archive.org/details/famicom-data-recorder-tape-data-and-game-ozidual

Game Pouchette Vol. 1: https://archive.org/details/game-pouchette-vol-1-audio-and-data-ozidual
  (missing 1 game and 1 background)

I've tested them and you should be able to hook your computer up to your Family Basic keyboard and load the games and backgrounds directly using whichever audio program you like.

I'm working on Game Pouchette Vol 1 (there was only 1 volume as far as I can see) which has about 24 games on it (done), and I have one more on its way.  I'm also working on typing up the micomBASIC Family Basic games.  You can find them mixed with a few other tape systems done by other people here:

https://archive.org/search.php?query=subject%3A%22Typing+Task+Force%22

Here are the tapes I am actively seeking.  If you can help in any way, I would greatly appreciate it!:
Let's Sing with Family Basic
Game Game 20/Interesting Zone 20
Any other Family Basic tape programs
Any other Family Basic books with programs

I am open to any suggestions/recommendations on changes or how I did things.  I loosely (badly?) translated the few bits of text I could find to make the games a little more accessible for the roms, but I included all of the original audio, code, and background data.

Special thanks to UglyJoe for the help early on, and for first posting about the Vol 1 collection.

EDIT: Also special thanks to the translators of the Family Basic manual (that was a HUGE help!) and everyone else working on Family Basic stuff here!
Family BASIC Preservation
Scanning and Game Preservation
N64 Hacking and Translation (Shiren 2 N64 will be the next release)

UglyJoe

April 29, 2021, 06:39:38 pm #1 Last Edit: April 29, 2021, 08:47:44 pm by UglyJoe
Awesome!  Happy to see you saw it through.

I'll add a link to here in the Family BASIC Super Thread.

Oh, FYI, I don't think the "game" from the 3rd book is broken like you suspect.  The listing (as it appears in the archive text, anyway) should roll the dice whenever you press a key on the keyboard.  If it rolls doubles, then it'll do a little celebration song and animation.

P

Fantastic! Thanks for doing this, and so thoroughly done! ;D

I also started to type in programs long ago and save in text files (so that they can be pasted in emulators) but never got very far. How did you make the ROMs?

ozidual

Quote from: P on April 30, 2021, 01:44:30 pmFantastic! Thanks for doing this, and so thoroughly done! ;D

I also started to type in programs long ago and save in text files (so that they can be pasted in emulators) but never got very far.

Glad to contribute :)  I like preserving stuff.

Do you still have any of those text files around?  If so, please send them along with sources for them if you still have the sources.  Even cell phone or camera shots are good for sources as long as they are legible. 

I have a way to "side load" code into Family Basic using a program I made in Excel and VirtuaNES save states.  I've only done one or two games that way, but I think it will eventually be a huge time saver.  I use the same program to extract the Family Basic code from VirtuaNES save states.  Eventually I'll release it, but it's still a little rough around the edges.

Family BASIC has a 1-byte code for every command (e.g. STRIG is 0xD6), and specific ways numbers are written.  Once you sort that out, you can read the code directly from RAM.  There are 2 tables - one with code and one used when REM or quotes are used so more text characters/graphic characters are available.  I'll see if I can attach the tables here:

You cannot see attachments on this board. - This is the "code" table
You cannot see attachments on this board. - This is the "text" table

Quote from: P on April 30, 2021, 01:44:30 pmHow did you make the ROMs?
The program STTONES listed in the Family Basic Super Thread.  You need to have a Family Basic V3.0 ROM renamed to FAMIBE_V3.nes and STTONES in the same folder.  Then run FAMIBE_V3 in VirtuaNES, load the code, run the code, and BREAK out of the code.  Then create a save state in VirtuaNES on Save State 0.  It creates a FAMIBE_V3.st0 file that you can drop on STTONES.
Family BASIC Preservation
Scanning and Game Preservation
N64 Hacking and Translation (Shiren 2 N64 will be the next release)

Sho

Woah this is amazing!  Thank you for your work and effort in doing this!

P

May 04, 2021, 11:36:04 am #5 Last Edit: May 04, 2021, 12:01:50 pm by P
Quote from: ozidual on April 30, 2021, 04:31:49 pm
Quote from: P on April 30, 2021, 01:44:30 pmI also started to type in programs long ago and save in text files (so that they can be pasted in emulators) but never got very far.
Do you still have any of those text files around? If so, please send them along with sources for them if you still have the sources. Even cell phone or camera shots are good for sources as long as they are legible. 
I really didn't get very far. I started typing out the sample games and a few other things in the manual (like Mary Had a Little Lamb and Rock'n Rouge MML songs). I've also typed out a few other programs I found here and there in screenshots or videos (like the Xevious BGM program). I didn't finish any of the sample games yet.

I can't find how you attach files to your post anymore, but here are they in code tags:
Spoiler
1 'SAMPLE FROM THE MANUAL: MERISAN NO HITSUJI
5 CLS
6 LOCATE 8,12:PRINT "メリーサン ノ ヒツジ"
10 PLAY"M1Y2V7T3:M1Y1V5T3:M1T3"
20 PLAY"O2A6G3F5G:O2R3FCEDCEC:O1F7C"
30 PLAY"A5AA7:RFCFRCO1AO2C:FC"
40 PLAY"G5GG7:RECERCO1GO2C:O2CO1G"
50 PLAY"A5O3CC7:RF5AO3C3AG:FC"
60 PLAY"O2A6G3F5G:O2RFRERDRC:FC"
70 PLAY"AAA7:RFFFRCCC:FC"
80 PLAY"G5#AA6G3:RERGRERC:O2CO1G"
90 PLAY"F9:FCFAO3F7:F5CF7"

'BIG CHR

90 CLEAR&H6CFF
100 FORI=&H6D15TO&H6D1D
110 READA$
120 POKEI,VAL("&H"+A$)
130 NEXT
140 XX=0YY=0CLS:GOTO300
190 DATA A9,05,85,63,A5,63,D0,FC,60
300 FORI=33TO200
305 FORJ=0TO7
310 A=&H1000+I*16+J
320 B=A MOD256A=A/256
330 POKE&H4A,B,A
340 CALL&H6D15
360 A=PEEK(&H73)B=128
365 LOCATEXX,YY+J:PRINT"        "
370 FORK=0TO7
380 IFA>=B A=A-B:LOCATEK+XX,J+YY:PRINTCHR$(I)
385 B=B/2
390 NEXT
400 NEXT
410 XX=XX+8
420 IFXX=24 XX=0YY=YY+8
430 IFYY=16 YY=0
440 NEXT


'LIST ALL TOKENS IN FAMILY BASIC V3
10 REM
20 FOR I=&H80 TO 255
30 POKE &H6009,I
40 PRINT HEX$(I);":":LIST 10
50 IF (I MOD 11>0) THEN 70
60 INPUT"PRESS RETURN TO CONTINUE";A
70 NEXT

'SMB SELECT WORLD
10 FOR I=&H7D3 TO &H7DC:POKE I,0:NEXT
20 POKE &H7FF,&HA5
30 INPUT "WORLD=";A
40 POKE &H7FD,A+255AND255
[close]
The final one is used before hotswapping with Super Mario Bros to select any world number to 255.


The forum seems to really hate the "GOTO" command used in the Xevious BGM program, and prevented me from posting it at first. Really weird. :(
Anyway I made a new post and this time it worked.


I see you used STTONES to make the ROM.

P

Double post because the previous one wouldn't let me post this code:

'XEVIOUS BGM

10 DIM A(7):POKE &H4015,15:FOR I=0 TO 7:READ A(I):NEXT
20 RESTORE 50:FOR I=1 TO 4:FOR J=0 TO 7:POKE &H4000,&H89,&HF,A(J),8:
25 FOR K=0 TO 192:NEXT:NEXT
30 READ A(2):A(6)=A(2):NEXT:GOTO 20
40 DATA 212,105,112,105,83,105,112,105
50 DATA 118,126,133,112

ozidual

That's exactly what I needed - thanks! 

Most of the code is breaking my script because I didn't plan for 0xA-0xF in &H for some reason.  Funnily enough, I'm in the middle of coding something to help with N64 translation, so I'll have to look at this when the code space in my head isn't devoted to that :)

Still, the first thing you coded works (see attachment).  I'm not sure if it's OK to post ROMs here even if they are made with STTONES, but you can LOAD the attached audio to Family Basic. STTONES does make a ROM that plays the music too. 

Hmm, won't let me attach that either.  I'll upload it somewhere later, but it worked well!  Again, thank you!

Quote from: Sho on May 03, 2021, 05:19:07 pmWoah this is amazing!  Thank you for your work and effort in doing this!
You're welcome!  If you're interested in these, keep an eye on this post.  I plan to update it as I work on stuff.  I have 3 more tapes on the way.  2 of them to fix problems in existing uploads and another tape:

Game Pouchette Vol 1 - 2 games to fix so they can be played
Hudson Collection Vol 2 - 1 Lode Runner Level (and need to confirm one of the others)
Mystery Tape - who knows :)
Family BASIC Preservation
Scanning and Game Preservation
N64 Hacking and Translation (Shiren 2 N64 will be the next release)