tschak909 Posted October 10, 2019 Share Posted October 10, 2019 Nina's Diary program for her Atari 8-bit is finished. I have attached a GIF video showing it in action. (please bear with the graphical glitches from the screencap tool) The code is here: https://github.com/tschak909/ninas-diary/releases/tag/v1.0 A demo video of it, is here: It is released as an 8K cartridge. It uses its own disk format, formats a very blank disk, and just stores the diary pages back to back, taking 8 sectors each. The first sector is used for a boot message. One change I will probably make, will be to add a volume bitmap, so that you can have gaps in pages and be able to keep track of them. We'll see. I am literally putting this onto a 32K EPROM with the XEGS OS and replacing Missile Command, so she can jump right into this at boot. -Thom diary.bin 13 Quote Link to comment Share on other sites More sharing options...
gozar Posted October 10, 2019 Share Posted October 10, 2019 Looks good! I wish I would have thought of it when my daughter was younger. :-) Have you thought about making it a little harder to format a disk? Maybe control-f and typing out yes? Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 10, 2019 Share Posted October 10, 2019 While I suppose your XEGS doesn't have a real time clock, have you considered any need for dates even if advanced manually? On top of every new page? I've never had a diary but would imagine that dates are relevant, otherwise it just become a book of scribble. 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 4 hours ago, gozar said: Looks good! I wish I would have thought of it when my daughter was younger. ? Have you thought about making it a little harder to format a disk? Maybe control-f and typing out yes? You have to press SHIFT Y. This is IMHO hard enough. Carlsson: nope, no RTC. -Thom 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 Hopefully this is a good solid example of how to do some tricks in cc65, especially direct to disk I/O, how to make stuff fit in an 8K cartridge, etc. -Thom Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 (edited) @sanny here's a CC65 demo program it's not portable, but it fits in 8K of cart space! Edited October 10, 2019 by tschak909 Quote Link to comment Share on other sites More sharing options...
+davidcalgary29 Posted October 10, 2019 Share Posted October 10, 2019 Lovely! Does it have a security feature to deter nosy little brothers? As per my daughter: "that's actually a real question!" 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 no, but it could be added. source code is up there ^^ -Thom Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 10, 2019 Share Posted October 10, 2019 If the actual diary is stored on a floppy disk, she could put it in a little box with a combination lock. Her nosy little brother might have access to the XEGS to play classic Atari games, but not read her inner thoughts. Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 Yeah, good thing she's an only child. -Thom Quote Link to comment Share on other sites More sharing options...
+davidcalgary29 Posted October 10, 2019 Share Posted October 10, 2019 6 minutes ago, carlsson said: If the actual diary is stored on a floppy disk, she could put it in a little box with a combination lock. Her nosy little brother might have access to the XEGS to play classic Atari games, but not read her inner thoughts. Her little brother steals and hoards my electronics under his mattress. Last week I found: my work phone (thumbprint security changed to his); a Dreamcast VMU; my Lynx (my McWill'd Lynx. On which he played CRAPPY GAMES!!!); two GPS units; a Google Watch; my instructional manual for a course in Modern Standard Arabic (?). I think I need to start using this diary. 1 3 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 Finally tested this with real hardware to remember, oh yes, floppy drives do not initialize sectors to zero bytes, but rather with fill bytes. I need to blank out the disk DEEERRRRRPPP! Fix coming... -Thom Quote Link to comment Share on other sites More sharing options...
carlsson Posted October 10, 2019 Share Posted October 10, 2019 (edited) One, two, klep too many? Edited October 10, 2019 by carlsson 1 Quote Link to comment Share on other sites More sharing options...
+mytek Posted October 10, 2019 Share Posted October 10, 2019 You are a great Dad ? . 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 I hope. I really don't know. This is something I can do, and I'm an aspergery bastard, so I need to find something I can obsess with her over. -Thom 1 Quote Link to comment Share on other sites More sharing options...
+davidcalgary29 Posted October 10, 2019 Share Posted October 10, 2019 You could also volunteer to go to her class, sit next to her, pass notes, and be her BFF for a day! My daughter declined my invitation to do this, so I'll probably show her this program instead. 2 Quote Link to comment Share on other sites More sharing options...
+mytek Posted October 10, 2019 Share Posted October 10, 2019 4 minutes ago, tschak909 said: I hope. I really don't know. This is something I can do, and I'm an aspergery bastard, so I need to find something I can obsess with her over. -Thom Believe me she will remember this much better than any store bought gift for years to come. Case in point, my dad wasn't emotionally available when I was growing up, and I often times wonder if he had Aspergers (and sometimes I wonder if I have a touch of this also). Anyway to this day I still remember him building a telegraph from nails, cut scraps of tin, wire, and some big dry cell batteries. He presented this to me and my brother when I was probably 7 or 8 years old. He had done it in secret each night after we went to bed. It was the coolest gift ever, and over the following days my brother and I copied what he had done and built a 2nd unit that we put over in the neighbour's house with wires strung between. We sent morse code back and forth for weeks thereafter. So YES your daughter will remember this . 5 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 To anyone who might have insight: Does anyone know why the cartridge would crash when reset is pressed? Is the init routine going sideways? is it because the program assembly starts at $0700? @phaeron @sanny ? -Thom Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 Looks like setting BOOTQ and COLDST to mimic a cold start is sufficient. https://github.com/tschak909/ninas-diary/commit/6039faf9db24f157f24ac3b6e28b6382036d3c8c -Thom 1 Quote Link to comment Share on other sites More sharing options...
+davidcalgary29 Posted October 10, 2019 Share Posted October 10, 2019 This should be the Program-of-the-Month (included with disk subscriptions!) for the November 2019 issue of Antic. 3 Quote Link to comment Share on other sites More sharing options...
Roydea6 Posted October 10, 2019 Share Posted October 10, 2019 The overly descriptive page # 3 is a distraction to me.. Pg 3 is clean and neat. also the script font is hard to read. Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 10, 2019 Author Share Posted October 10, 2019 27 minutes ago, rdea6 said: The overly descriptive page # 3 is a distraction to me.. Pg 3 is clean and neat. also the script font is hard to read. This is why I provide source, I want others to modify and make it better. The script font was chosen because Nina is learning cursive writing. -Thom 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 11, 2019 Author Share Posted October 11, 2019 I am obviously abusing DSKINV here, but I am curious, why does the call to DSKINV work, and if I change the call to SIOV, it falls flat on its face? also, why do I need to call DSKIV ($E450) first? -Thom Quote Link to comment Share on other sites More sharing options...
tjlazer Posted October 11, 2019 Share Posted October 11, 2019 Cool. Any way to change the color from pink to something else? Also on NTSC it's not pink lol Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 11, 2019 Author Share Posted October 11, 2019 16 minutes ago, tjlazer said: Cool. Any way to change the color from pink to something else? Also on NTSC it's not pink lol Yeah, by changing the source code. -Thom 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.