Andromeda Stardust Posted December 22, 2016 Share Posted December 22, 2016 Hi. Is the ROM still running too fast on hardware? I can test for you guys on my Lynx SD cart. 1 Quote Link to comment Share on other sites More sharing options...
tonma Posted December 23, 2016 Author Share Posted December 23, 2016 Do you want to have saved high score? The options are: 128 bytes: unsigned __fastcall__ lynx_eeread_93c46(unsigned char cell); ; /* Read a 16 bit word from the given address */ ; write word to EEPROM ; void __fastcall__ lynx_eewrite_93c46(unsigned int addr, unsigned int val); 2048 bytes: ; unsigned int __fastcall__ lynx_eeread_93c86(unsigned int addr); ; write word to EEPROM ; void __fastcall__ lynx_eewrite_93c86(unsigned int addr, unsigned int val); It adds a few cents to the components but does not affect the price of the cart. Oh, thanks, I didn't think about save game. I'll try this too. I can save on eeprom on lynxSD cart ? Hi. Is the ROM still running too fast on hardware? I can test for you guys on my Lynx SD cart. I think the ROM runs at the right speed on the actual hardware, but tests on real harware are welcome. 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 23, 2016 Share Posted December 23, 2016 Oh, thanks, I didn't think about save game. I'll try this too. I can save on eeprom on lynxSD cart ? I think the ROM runs at the right speed on the actual hardware, but tests on real harware are welcome. I don't think you have eeprom's on emulators or SD cart. What I usually do is write a Magic byte in the first location to signal that an eeprom is available. With the eeprom you just don't lose your high scores when you turn the Lynx off. 1 Quote Link to comment Share on other sites More sharing options...
tonma Posted December 23, 2016 Author Share Posted December 23, 2016 I don't think you have eeprom's on emulators or SD cart. What I usually do is write a Magic byte in the first location to signal that an eeprom is available. With the eeprom you just don't lose your high scores when you turn the Lynx off. Yep. I asking this for the testing. I'll have no cart with eeprom to make final test. I just test the file "eestest.o" on handy. File from Sage website. It's seems to work but I'm not sure. But in any case, the backup will be erased at the next boot. I try to add music with chipper tracker. Chipper version 1.7.6.0 I load an example song and export to "BLL driver -> export CC65 remake", add the default "soundbs.mac" and change the track file to add good value : From : ;;; source file for CC65 "remake" compiler .include "soundbs.mac" .global musicptr .rodata musicptr: .word CHANNEL_0, CHANNEL_1, CHANNEL_2, CHANNEL_3 PATTERN_LENGTH .set 1920 TO .include "soundbs.mac" .export _musicptr .segment "POPCORN_RODATA" _musicptr: .word CHANNEL_0, CHANNEL_1, CHANNEL_2, CHANNEL_3 PATTERN_LENGTH .set 1920 The game crash when loading the track. Do I need to change something ? In my map, I don't have error on memory segment. Quote Link to comment Share on other sites More sharing options...
+karri Posted December 23, 2016 Share Posted December 23, 2016 I think you need to change name of _musicptr to whatever you are loading. And you have to load the tune into memory with lynx_load(filenr); 1 Quote Link to comment Share on other sites More sharing options...
Level42 Posted December 23, 2016 Share Posted December 23, 2016 My Lynx is on it's way back from a roundtrip to Germany, McWill exchanged my defective LCD....so until it arrives back I can't test it yet.... 1 Quote Link to comment Share on other sites More sharing options...
sage Posted December 23, 2016 Share Posted December 23, 2016 I don't think you have eeprom's on emulators or SD cart. What I usually do is write a Magic byte in the first location to signal that an eeprom is available. With the eeprom you just don't lose your high scores when you turn the Lynx off. You have eeprom support in the latest handy version. (the beta found in the porgrammers forum). Not sure if I put it into retroarch, too. but, you need to add some value to the header. need either a very new make_lnx or some hex editor. 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 24, 2016 Share Posted December 24, 2016 You have eeprom support in the latest handy version. (the beta found in the porgrammers forum). Not sure if I put it into retroarch, too. but, you need to add some value to the header. need either a very new make_lnx or some hex editor. Nice. Obviously I need to add the feature to the default lnx header so that any game using eeproms get the right bits set in the header automatically. 1 Quote Link to comment Share on other sites More sharing options...
tonma Posted December 27, 2016 Author Share Posted December 27, 2016 ok. I just added a random for the position of the columns. I'll increase the difficulty later.I added music, copied from the chipper tracker. Seem weird, maybe the framerate.I still have to change the fonts and after I look at the backup of the scores. flapvert3.zip 3 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 27, 2016 Share Posted December 27, 2016 The chipper is not running from the VBL interrupt. It should use a high speed dedicated timer7 running at 240Hz. It should be independent from the frame rate. _lynx_snd_init: php sei lda #%10011000|_31250Hz sta $FD1D lda #129 sta $FD1C ; set up a 240Hz IRQ ;---------------------------------------------------------------------------- ; lynx_snd_handler is run at every sound interrupt ; lynx_snd_handler: lda INTSET and #TIMER7_INTERRUPT bne @L0 clc rts @L0: This should be found at the resident/lynx-snd.s 1 Quote Link to comment Share on other sites More sharing options...
sage Posted December 28, 2016 Share Posted December 28, 2016 ... well it depends for which timer the song was made... 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 28, 2016 Share Posted December 28, 2016 The song is a 240Hz Axel tune. I can hear it using Mednafen. I should really take the time to sit down with my keyboard and compose some new music. Once I get the idea I can easily play it into Chipper using the ASCII keyboard. For a game like Flappy Bird you need some kind of steady beat song with sudden up/down changing patterns. Something that fits the game. Cool, jumpy and repetitive. 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 29, 2016 Share Posted December 29, 2016 What about Salsa for the bird? Mapping 8 instruments into 4 channels is a challenge... http://www.salsabeatmachine.org/ Clave | _ _ ! _ ! _ _ _ | _ _ _ ! __ _ ! | Cowbell | * _ * _ * _ * * | * _ * * * _ * * | ... 1 Quote Link to comment Share on other sites More sharing options...
Level42 Posted December 30, 2016 Share Posted December 30, 2016 Don't know if this "song" is well known in your parts of the world, but in 1980 we had this terrible thing called the "Vogeltjesdans" (= bird's dance). I totally hated it but it was a smash hit here (there was even a dance that "matched" it...). It's annoying and yet it's one of those tune's that sticks in your mind.... I've always thought this tune would be perfect for Flappy Bird because, let's face it, the game is annoying and irritating too :D Here it is: 2 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 30, 2016 Share Posted December 30, 2016 PERFECT!!!! I know this tune According to Wikipedia a Swiss song "Der Ententanz" (The Duck Dance). Thank you! It really fits the game. Now I just have to assure that you cannot turn it off 3 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 30, 2016 Share Posted December 30, 2016 (edited) Here is a single channel chickendance. Included as a song and as an exported cc65 track. It loops forever.... Of course we could add more band for the remaining 3 channels. But in a way I would like to keep the sound just as simple as the game. http://79.125.115.174/pics/chickendance.mp3 One thing that is disturbing is that after making this tune on Chipper I now even remember the dance moves. How do you un-remember a tune? It is playing in my head now. We really need a yellow warning sticker on this cart. chickendance.zip Edited December 30, 2016 by karri 3 Quote Link to comment Share on other sites More sharing options...
Andromeda Stardust Posted December 31, 2016 Share Posted December 31, 2016 Don't know if this "song" is well known in your parts of the world, but in 1980 we had this terrible thing called the "Vogeltjesdans" (= bird's dance). I totally hated it but it was a smash hit here (there was even a dance that "matched" it...). It's annoying and yet it's one of those tune's that sticks in your mind.... I've always thought this tune would be perfect for Flappy Bird because, let's face it, the game is annoying and irritating too :D Here it is: https://www.youtube.com/watch?v=0RrfbUmQ_B8 YESS!!! I votes for "Chicken Dance" playing in continuous loop from the moment the cart loads. Playback uninterrupted while you die and restart over and over with no option to mute it. 2 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 31, 2016 Share Posted December 31, 2016 This must be the most irritating game in history. - playing the game sideways - Chickendance - Flappy I love the idea. Time to try out some awful cart colours. What about red ABS? I could 3D print one and post it here. 3 1 Quote Link to comment Share on other sites More sharing options...
tonma Posted December 31, 2016 Author Share Posted December 31, 2016 Oh no, "La danse des canards" Coin Coin. I've played this yet at the primary school spectacle. 30 years ago... Thanks a lot for the tune, I'll try this in my code. I've added collision. Only need to change the font rotation. I've spend my time on a big bug. Everytime, I'm going back to the intro the game freeze. Because I forgot to stop the sound ... works better now. I'll add the chiptune and put a new version on the forum. 2 Quote Link to comment Share on other sites More sharing options...
tonma Posted December 31, 2016 Author Share Posted December 31, 2016 Spend 3 hours on a new bug ... itoa doesn't work anymore. But now it's working, I launch 4 channels music then I only need one. The high score worksbut not saving function yet. 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted December 31, 2016 Share Posted December 31, 2016 (edited) 4-channels Chicken dance? Are we working on a Mega-annoying release or what? Edit: Ah, sorry. You did not notice that there was no channels 1, 2, 3 in the build. Here is the cart. Just waiting for content. The eeprom here is the small one 128 bytes. Is it enough? Or should I use the 2048 bytes one? Actually there is even space for a 64k eeprom on the pcb but nobody has written the driver for that yet. Edited December 31, 2016 by karri 2 Quote Link to comment Share on other sites More sharing options...
mvirtuale Posted December 31, 2016 Share Posted December 31, 2016 Sorry for my English. use an automatic translator.In my opinion, for the Atari lynx it is better to use "lynxFlapp002.zip"Ideally, horizontal screen with some sound.a cartridge will be created for the lynx?My highest score is 6! 1 Quote Link to comment Share on other sites More sharing options...
tonma Posted December 31, 2016 Author Share Posted December 31, 2016 4-channels Chicken dance? Are we working on a Mega-annoying release or what? Edit: Ah, sorry. You did not notice that there was no channels 1, 2, 3 in the build. Here is the cart. Just waiting for content. flappycart.png The eeprom here is the small one 128 bytes. Is it enough? Or should I use the 2048 bytes one? Actually there is even space for a 64k eeprom on the pcb but nobody has written the driver for that yet. I love this red cartridge. You're my Santa Claus. Music + cartridge. I have a nearly finish version. Collision, score, music. Maybe need to change the difficulty after some time. i'll doing this tomorrow. For saving the highscore, I add the function for the eeprom and everything seems fine. In the emulator, the writting / reading function works. But of course, the emulator doesn't seem to save it when I reload the game (I try with the Sage version of handy 0.971).But you tell me, I need magic byte in header. For testing, I use something like and mynameH = 4000 after the operation : mynameH = 6000; myname = 4000; lynx_eewrite_93c46(0, myname); mynameH = lynx_eeread_93c46(0); Sorry for my English. use an automatic translator. In my opinion, for the Atari lynx it is better to use "lynxFlapp002.zip" Ideally, horizontal screen with some sound. a cartridge will be created for the lynx? My highest score is 6! With the last version, it'll be more easy. But I prefer, the Vertical version 'cause of the original game. Yes, We'll can have a cartridge . The more smaller and annoying game for the lynx. I need to add "not for resale" on the front page. flapvert5b.zip 1 Quote Link to comment Share on other sites More sharing options...
Andromeda Stardust Posted December 31, 2016 Share Posted December 31, 2016 4-channels Chicken dance? Are we working on a Mega-annoying release or what? Edit: Ah, sorry. You did not notice that there was no channels 1, 2, 3 in the build. Here is the cart. Just waiting for content. flappycart.png The eeprom here is the small one 128 bytes. Is it enough? Or should I use the 2048 bytes one? Actually there is even space for a 64k eeprom on the pcb but nobody has written the driver for that yet. I couldn't help but notice the sheet music, trebel clef but no bass clef? Also I'm no sheet music expert, but the piano part looks like single note melody to me, excluding the guitar chords... Quote Link to comment Share on other sites More sharing options...
mvirtuale Posted December 31, 2016 Share Posted December 31, 2016 very beautiful "flapvert5b.zip" version works fine! it would be possible:1) Option 1 + 2 option to put on and take off the music2) Pause + option 2 for horizontal and verticalThe red cartridge is very beautiful! 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.