Omnimaga

Calculator Community => Other Calculators => Topic started by: DJ Omnimaga on August 19, 2009, 02:36:04 am

Title: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on August 19, 2009, 02:36:04 am
Wow O.O

http://www.unitedti.org/index.php?showtopic=8917

I didn't thought this was possible. Now if only sound quality was better. I think it could be tho, on newer models. Now I hope that guy releases a song converter so I can convert you-know-what to GH calc format :D

Now we need DDR with sound :D
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eeems on August 19, 2009, 06:41:43 pm
I know, I was playing around with it :P
stupid emulator doesn't like me though, I can't hit any notes...
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Builderboy on August 19, 2009, 08:10:57 pm
hehe, I don't have an adapter, so I had to use 3 alligator clips to hook it up to my stereo. :)

Its got great sound for the file size, but the difficulty is way to high for me :P (on easy!)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on August 19, 2009, 11:12:43 pm
yeah I couldn't hit any note either. It didn't seems to do anything


btw those with an old Xbox who got an headset can actually use it with their calc. However then they will only hear sound from one side
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 01, 2009, 10:45:15 pm
Hey I got spotted from across the forums!

If you read the end of the topic in unitedti, you would have seen that I was working on rewriting the code with support for 2-bit sound and compression (on average lowering the size by 24%). I finally managed to find the time to complete the new version of the game (attached below). This uses the 15 mHz processor and so does not work on the regular Ti-83+. I still have not gone around to syncing the sound to the notes (I have timestamps for all the notes of the songs in GH1 & GH2, but I don't have any references to real time (such as in seconds). 1 "tick" in that timestamp is equivilant to somewhere between 15.1 and 15.2 milliseconds, but I haven't quite figured out where it lies exactly).

The 3 attached files are the ones I have converted using my new sound format (Sweet Child o' Mine sounds incredibly good). If you happen to find any other older files on unitedti in my thread before compression & 2-bit sound, the notes will work fine but the sound will be gibberish.

Full details on how to play are on my unitedti thread.

You expressed interest in making your own song for Guitar Calculator. I also attached a sample excel file I use to create my songs. I modified it a bit to provide a more user-friendly verison (SampleExcel).

On the left will be the information you need to submit to create the file. Do not modify the values here. On the right, under "Raw" (each set of rows corressponds to a different difficulty-leave it blank if you don't was to use them all), you type in at what time you are supposed to press the note in milliseconds (1000 = 1 second, 2000 = 2 seconds, 5600 = 5.6 seconds). Beside, you put a "0" on the notes you want the user to press when he hits your note/chord. I have an example provided.

Notice that the last note has a "-4" instead of a 0. This is a special case - it is a "note" which tells the program to quit the song (in other words, this represents the time at which the song ends). Don't forget to put it at the end, or else your player will have to manually quit the song themselves using DEL.

The song you would like to use for Guitar Calculator must be presented in a 8.000 kHz, 8-bit, Mono .wav file. You can use your Sound Recorder accessory in Windows XP to convert the wav type if you have it (File>Properties). It also shows you the current form if you need to check the format. Any other form will produce incorrect results, or be refused.

Once you have your notes all prepared in your Excel file, it is time to input the data. Each double-column set on the left of the excel file corresponding to a difficulty must be converted into the following format:

From (this is the Easy version of the sample song I put in randomly)
1000   253
1500   253
etc.

to

1000;253;2000;251;3000;251;4000;247;5000;247;30000;245;50000;243;4464;247;24464;127;
(note that the last number must end with a semicolon)

A simple way of doing this is to copy all the values, and paste them into word. After you paste, in the bottom-right corner, there should be a little briefcase. Click on it and choose to conserve only the text of what you pasted (so that you don't have the information in form of a table).

After that, press Ctrl+F and select "Replace". Search for "^p" and replace all occurences with ";". Now replace all occurences of "^t" with ";". Your information should now be converted into the proper form (a very long line of numbers seperated by semi-colons).

Once that is done, run the attached program (GuitarCalculatorSongMaker3.zip). Choose your wav file (make sure it is in the right format!), and then type in the information it asks for. Note that if your title/artist is too long, it might not fit on the screen. After that the program will start to create AppVars in the same folder as your wav file. Given the fact that the program I made is highly inefficient, you will have to wait a while. Suddenly, when it is done converting the song, it will present a pop-up asking you to paste the information for Easy. Paste the information in the form of the semi-colon-separated list. Do the same for Medium, Hard, and Expert. If you did not include a certain difficulty, leave the input box completely blank. If your input is incorrect, the program will likely crash.

You will now have your AppVars. Test it on your calculator, adjust, then zip it and upload it here.

What was the song you wanted to put on your calculator? One of your own?
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eeems on September 01, 2009, 10:47:37 pm
cool, and welcome to Omnimaga Seren, I'll take a look at this later, but it looks good :P
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 01, 2009, 10:54:00 pm
Haha, thanks. I'm kind of proud that my first game is receiving such notice. Of course, I chose to make this game because I saw nothing of the kind anywhere on ticalc.org (in fact, I hadn't even known that DDR existed), and it didn't seem particularly hard to make for me.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 01, 2009, 11:54:50 pm
Heya Seren and welcome here.

First question, seeing on UTI as you're also from Québec, and how you use the same ISP as me according to your forum profile over here, How do you manage to access the Omnimaga site? Because since this afternoon, I have been unable to access the site without using a proxy and I don't feel it's really safe for me to login through a proxy. :S

Now back on topic, this seems very awesome. Do you think this would work on the TI-Nspire? I got two TI-83+, one TI-83+SE and one TI-Nspire. But one of the 83+ has no link port anymore, the SE is defect and all I got that runs at 15 MHz in 84+ mode is a TI-Nspire. I would really love to play this without emulator at one point :)

There are some GH games out there for calculators, but none has sound. Same goes for the DDR games on Ticalc. I made two good looking one using TI-BASIC and xLIB (or Celtic), but they have no sound either.

Unfortunately, I was always more into DDR than GH simply because I love electronic dance music, but this is still a major achievement for calculators to have sound inside a game that aren't just small beeps when walking around.

My only complain about the previous version was sound quality but hey, that's a calculator after all :D

Gonna try the new version right away now.

And I seriously hope my hosting provider didn't banned my IP or something because it's annoying to not be able to access my own website normally.

EDIT: Btw, could someone make a song for me? Because your song maker takes way too much RAM on my computer (about 1200 MB) so I can't use it and if I even try, I got to reboot afterward. Here's the song I wanted to get converted. I think everyone on the forums who has been member for a while alerady knows which song I am talking about >.> but here is it:


PM me if you need WAV file
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: JoeyBelgier on September 02, 2009, 03:22:39 pm
Welcome Seren :D
Really nice work with the game ^^
I only tried it in an emulator right now, but I'm soo going to put it on my calc when It connects again to my PC
2.5mm headphone jacks for the win! :D
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 02, 2009, 04:14:54 pm
Heya Seren and welcome here.

First question, seeing on UTI as you're also from Québec, and how you use the same ISP as me according to your forum profile over here, How do you manage to access the Omnimaga site? Because since this afternoon, I have been unable to access the site without using a proxy and I don't feel it's really safe for me to login through a proxy. :S

Well, yesterday, I had typed a response to the post, then clicked preview, and then the page crashed on me. Omnimaga stayed down for me for quite some time. I had supper, came back, and then it was back up.

Now back on topic, this seems very awesome. Do you think this would work on the TI-Nspire? I got two TI-83+, one TI-83+SE and one TI-Nspire. But one of the 83+ has no link port anymore, the SE is defect and all I got that runs at 15 MHz in 84+ mode is a TI-Nspire. I would really love to play this without emulator at one point :)

I don't know where the buttons would be on the Ti-Nspire, since I've only seen it once in my life, but I see no reason why it shouldn't work. My only worry is that the song won't be played at the right speed (given that it's an emulation) - I've manually counted the clock cycles every single mnemonic and function takes in the gameplay section - in an emulator this probably will no longer hold up (not that I know - does it simulate the proper speed?).

There are some GH games out there for calculators, but none has sound. Same goes for the DDR games on Ticalc. I made two good looking one using TI-BASIC and xLIB (or Celtic), but they have no sound either.

Unfortunately, I was always more into DDR than GH simply because I love electronic dance music, but this is still a major achievement for calculators to have sound inside a game that aren't just small beeps when walking around.

My only complain about the previous version was sound quality but hey, that's a calculator after all :D

Gonna try the new version right away now.

And I seriously hope my hosting provider didn't banned my IP or something because it's annoying to not be able to access my own website normally.

EDIT: Btw, could someone make a song for me? Because your song maker takes way too much RAM on my computer (about 1200 MB) so I can't use it and if I even try, I got to reboot afterward. Here's the song I wanted to get converted. I think everyone on the forums who has been member for a while alerady knows which song I am talking about >.> but here is it:


PM me if you need WAV file

What we need is a program to convert Frets on Fire songs into a format for the calculator. Unfortunately, I have no idea how the notes.mid file is arranged (tried once some time back - had a bit of success, but I gave up). If anyone can document the structure of a midi file, and also specifically for FoF, I could write an (inefficient) program to convert the notes into a usable format for the calculator. This will allow us to have an extremely large base with which to make songs.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 02, 2009, 06:04:45 pm
Actually nvm the can't access Omni comment. Later that night, I e-mailed 1and1 (the hosting provider for Omnimaga and TIMGUL websites, as well as the xlib.mtv-music-generator.com file folder) and it turned out that for some reason, my IP got banned from their server. I got them to unban it and when I returned from work an hour ago, they had it fixed. I hope this doesn't happen again, though, because proxies are very slow sometimes and not very secure (when logged in).

Some other people has reported some downtimes last afternoon too, though. Maybe I just tried too many attempts at accessing the site during that time, as I was editing forum files at that time.

Back on the topic, the TI-Nspire, when you swap its keyboard with the TI-84+ keyboard, has the same keypad layout as a regular TI-83+/84+. The speed is practically the same as a regular TI-84+SE, even during ASM games. The only problem is that programs using undocumented ASM instructions and stuff like that usually doesn't work on it. MirageOs, for example, requires a patch, else it crashes. Zelda Dark Link Quest, Illusiat 2004 and Reuben Quest series earthquake effects won't display (they're done using a small ASM program to shift the screen (Z-Adress)). Also, TI-Connect will not detect your TI-Nspire in 84+ mode. Basically, I must send a bunch of song files to my regular 83+, send to Nspire, reset 83+ Mem, and repeat the process until everything is sent.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 02, 2009, 06:21:13 pm
Anyways, I'm pretty sure I did not include any undocumented instructions - I would surely have remembered doing so.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Geekboy1011 on September 02, 2009, 09:13:51 pm
wow awsome got to try this hmm question what is the song converter written in (language wise?
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 02, 2009, 09:21:25 pm
Visual Basic - very inefficiently and badly formatted, etc, but it gets the job done.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 02, 2009, 09:29:07 pm
I wish my 1 GB RAM PC would run it fine x.x (the song maker)

(I liked VB, did some in comp science intro classes in my two last years of hi school. Had I got a PC at home back then, the teacher was gladly giving students copies of VB6 burned on CDs and I think I would have went into a massive RPG production rampage. Unfortunately, it has been over 6 years since I last touched to VB that I would probably not even be able to help. :( This is not to mention many things must have changed in VB since the days of VB6)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Geekboy1011 on September 02, 2009, 09:45:42 pm
cool i actually know some vb could you post the src please :) so i can look learn and help some (i hope :P)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 02, 2009, 10:45:19 pm
I made the effort of going through my code and commenting everything to allow for a basic understanding. This is in VB2008, and not VB6, btw.

Enjoy.

Edit: Oops, I forgot to make a small change when I commented things. When you open the project, you'll notice "Form1.vb" is invalid. You'll need to go into Project>Add Existing Item, and choose "Form2.vb" (which was the new commented form I had made).
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Geekboy1011 on September 03, 2009, 03:57:25 pm
awsome ill take a look later and im dont know vb6 any way i know 2008 as well il see what i can do :)


edit: just reliezed looking at the source im gonna need to do a lot of reasearch on .wav format lol

any suggestions for additions that could be added while im poking around?


if i made it a lot slower but take less memory would you all be happy with that for a while cause im using a low cpu ad ram comp :(
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 03, 2009, 05:25:56 pm
Yeah sure -never optimized it for memory either. I only knew that it worked on my computer.

The wav format is really simple.

The first four characters of the file are "RIFF.". The next 4 bytes are the length of the rest of the file.

After that comes "WAVE" (at 08). This identifies the file as a wav file.

Following that are two groups of information. The first group, right after "WAVE", is called "fmt " (with a space after the t). The four bytes after give the length of the "fmt " section. This section basically gives information on the wave file: Does it use compression, how many kHz, 8-bit, 16, 24-bit? How many channels, etc.

After "fmt " comes "data". (Again, the four next bytes specify the length). After data is all the information about the song. If the wave file is 8-bit & mono, each byte represents 1 tick of sound in the wave file (determined by the frequency - which is 8.000 kHz for GuitCalc). So I basically read 1 byte at a time here in the data section.

Here's detailed information that I just found off the net if you're interested: http://web.archive.org/web/20071203105906/http://www.sonicspot.com/guide/wavefiles.html
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Geekboy1011 on September 03, 2009, 08:57:07 pm
alright ill try to optimize a speed version for dj and me

guidlines it runs on my 897mhz processor with 512 ram im pretty sure if it runs on that then it will run on any thing lol
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 03, 2009, 11:03:06 pm
Also, just another thing, if I edit a song when I can, is it like extremly hard to keep the simfile (or whatever it's called) from going out of sync with the song?
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 04, 2009, 12:22:37 am
OH btw, just played new version and I like the sound quality improvement and speed. However, I was wondering if that acute static-like buzz (idk how else to explain it) could be removed or if it's part of calc limitation? Or could it be because I use an emu?

Here's a sample below:
http://xlib.mtv-music-generator.com/ghsound.wav


No matter what, though, still a great achievement ^^
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Builderboy on September 04, 2009, 12:40:25 am
gah, thats horrible.  Is it like that the whole time?  It didn't sound like that in previous versions.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 04, 2009, 12:53:53 am
in the previous version (that was playable too), that buzz was not as loud. Maybe it's just the emulator
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 04, 2009, 03:26:57 pm
First of all, the buzz sounds less if you use cheap earpieces (and not computer speakers from a computer emulator). Next, if you mean the previous version as in the 6mHz one on unitedti (confirm what you mean please), then yes, it was not as loud for I Love Rock N' Roll. On the other hand, for most songs, they sounded a lot better (see if Sweet Child o' Mine sounds like that, it doesn't for me). Rock n' Roll was actually rather poorly "enhanced". In the new version you can hear the words, but there's more static. On the other hand, the old version (1-bit) has no buzz like that, but the quality is too low to hear the words (giving a generally impression of the tune of the song).

It's possible that I have a slight glitch in my decompression routine (resulting in garbage), or that my data gets partially corrupted sometime inbetween decompression and outi-ing it to the port (which is a possibility).

So check for Sweet Child o' Mine, and tell me what you get.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 04, 2009, 04:14:13 pm
aah, ok, I was actually using  headphones that werent that cheap but not too expensive either (basically, not Dollarama stuff). But yeah, I got static in Realsound too anyway. You can test http://omnimaga.unitedti.org/DESUDESU.8xk in WabbitEmu (you need to Garbage Collect first, even if you just cleared the entire memory) to hear what I mean. Song is Rick Astley - Never Gonna Give You Up, first minute of it

I'll try the song Sweet Child O' Mine now

EDIT: Ok, still the same amount of static, but the song sounds clearer in overall it seems
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on September 04, 2009, 04:38:54 pm
Well, I've never gotten WabbitEmu to work. All I get is what's seen in the picture I attached. Any idea why that happens?

Well, tell me if you get the acute static-like buzz for Sweet Child o' Mine on cheaper earpieces. I hear static but no acute buzz (the static is light enough that if you focus on the song itself you can ignore the static)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on September 04, 2009, 04:44:41 pm
Mhmm strange x.x never got that happening. But Wabbitemu tend to behave weirdly and differently for several people it seems. Must be because it's still in Beta and is dependent on certain computer settings x.x

Unfortunately i got no cheaper headset, tho x.x, I will have to try to find one x.x
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eopia on December 10, 2009, 03:20:45 pm
could you maybe do this for the simple ti-83 without+ or tell me how i get this to work on it.
i think it will be impossible with music cause ram isn't big enough but if you do a small version only hit the buttons this would be great. ;)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on December 10, 2009, 04:00:42 pm
Well, I've kinda become rather busy (hence the fact that I've disappeared for a bit)

I'm actually about to convert all the Guitar Hero I/II/III & Encore Rocks the 80s into Guitar Calculator files, but it's hard for me to find time to work on it.

I wouldn't mind porting this to the 83, but I'm probably going to rewrite the code to remove sound functionality from the Ti-83+ (since it's pretty bad and cannot support the higher quality I put for 15mHz calculators). It would probably be at that point that I would make it for the 83, but, because of my time constraints, I don't know when this will happen.

On the other hand, I would have to know the differences between the Ti-83 and Ti-83+.

~
The three main things I need to know to make a version for the Ti-83, if I get to it, is:

I don't believe the 83 has application variables? (http://tibasicdev.wikidot.com/file-extensions) In that case I would probably have to store my application variables as programs or something?
How is the memory on the 83 organised? Does it have any ROM? Does it use paging? How so?
How do bcalls work?
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: ztrumpet on December 10, 2009, 04:01:39 pm
Do you use xRam in this?  (I forgot)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on December 10, 2009, 04:17:07 pm
No, I read directly from Flash memory for the sound, and I read from the RAM for the information about button placement (I probably should keep it in the Flash memory, to avoid losing it in case of a crash, but I've been too lazy to figure out how to unlock the flash, and how to write to it (to change the highscores))
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 10, 2009, 04:56:14 pm
Since almost no one use the old 83 anymore (without the +) Idk if it would be worth it to convert the game to this model. Plus, since a song can be hundred of KBs, you would only be able to fit a few seconds of a song on the regular 83

However, for the 83, perhaps a version of GH with NES-style sound, but with only two channels and no percussion could be done if someone absolutely want to create it for the 83+

The issue with the 83 is that it doesn't have archive memory, thus, no appvars and no application (less space for other stuff too, altough it has 2 more KB of RAM)

That said, I am kinda glad this project is still alive. I was worried it kind of died :S.

EDIT: If someone figures out how to have sound on the TI-Nspire, I think GH might be a cool project idea if they ever manage to install ASM stuff on a real calc, not just emulator :)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eopia on December 11, 2009, 07:30:42 am
Quote
The issue with the 83 is that it doesn't have archive memory, thus, no appvars and no application (less space for other stuff too, altough it has 2 more KB of RAM)
Thats why I asked to make it without sound
Quote
Since almost no one use the old 83 anymore (without the +) Idk if it would be worth it to convert the game to this model.
unfortunately in germany we use the old ti 83 or 82 stats (other name same thing)
Quote
I don't believe the 83 has application variables? (http://tibasicdev.wikidot.com/file-extensions) In that case I would probably have to store my application variables as programs or something?
How is the memory on the 83 organised? Does it have any ROM? Does it use paging? How so?
How do bcalls work?
No it hasn't appvars maybe you could store it as lists or normal vars.
cause I only programm in basic i don't know these things but i has only 27 kb ram availbe for the user
it has Roms 1.02, 1.03, 1.04, 1.06, 1.07, 1.08, 1.10
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 11, 2009, 01:33:55 pm
Wait, I didn't knew the 82 Stats was avaliable outside France? New to me. I know some people in Germany used to use TI-83 Plus and TI-84 Plus calcs, like Lolje and Spellshaper over here, but maybe school rules changed or something now that TI revived the regular 83 as a 82 Stats.

Without sound it should probably be easy to do. Even in BASIC it might be, altough it might not look as great, graphically. There are also some 83+ BASIC GH games on ticalc.org, if you search for them. I think you might be able to copy the code from TI-Graph Link 83+ to a TI-Graph Link 83 window, edit out the lowercase letters located between quotes then save in 83 program. It might work. However, I'm unsure about the quality of these GH clones

Sound or not, it might still grab interest too if it looks nice. In 2005, I released a Dance Dance Revolution game running on graphical screen (altough it was not pure-BASIC, but assisted with ASM libs), called xLIB xLIB Revolution. It had no sound, yet it still managed to make it in top weekly download spot on ticalc.org for one week and hit 2801 downloads in one week once, back then.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Galandros on December 11, 2009, 01:59:26 pm
There is TI-82 STATS here in Portugal too.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 11, 2009, 02:05:43 pm
It would be funny if TI decided to release it in USA too, almost 10 years after discontinuing it when it was still called TI-83.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eopia on December 11, 2009, 02:48:03 pm
i don't think they will cause why should someone buy an older version of a calc you already have.

there are some basic guitar heros clones in basic but in asm i think this would be better
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 11, 2009, 04:52:53 pm
Well, some people might go for the older calc if it's cheaper, especially with the recession. It would obsolete the TI-73, though.

Btw BASIC can make good games too, it just won't be as fast. Don't bash games just because they're in BASIC there are some good ones there. Plus I don't think that XXR game would have been featured on ticalc main page if BASIC games didn't deserve recognition. The ones on ticalc.org might not be that great because people don't optimize them enough.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eopia on December 12, 2009, 09:06:28 am
sure basic can make good games the guitar hero aren't bad. my problem is that you have to press keys that are distributed on the calc and not in a line.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 12, 2009, 11:28:08 pm
yeah I really hate that. If I made a GH in BASIC, I would use the F1 through F5 keys, like Noahbaby94 in his GH clone (that was never finished)

ANother thing in BASIC is that it's only one keypress at a time, altough you can fix this with Celtic III I think.

But yeah I just kind of dislike how some people (especially people who have contributed nothing to the TI community and have no clue how hard it is to program, especially in ASM, and to learn it) put all BASIC games in the same boat despite all the work that were put into them. Fortunately you did not do this and this rarely happens anymore, but it still happens, and it can simply discourage author of these games or projects and make them entirely quit the TI community simply because they tried ASM and could never understand it.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on December 14, 2009, 04:24:31 pm
On a side note, how do you unlock Flash? I remember reading something about manipulating the stack and jumping to a place in the boot code or something, but I really don't know how. Also, is there a delay when writing to Flash? (Anything else I should know?)
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 14, 2009, 05:07:50 pm
Mhmm that's something I couldn't tell myself. I think Calc84maniac might know if it is possible or how to do it, but maybe it would be best to ask someone like BrandonW on United-TI forums. Maybe Iambian might know, but I'm not sure.

I think there is a delay, though.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Builderboy on December 14, 2009, 05:42:31 pm
I remember it was supposed to be slow and hard on your flash chip D: I believe Benryves was working on something like that, but like DJ, I am not your asm guy :P
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eeems on December 14, 2009, 06:01:58 pm
I know BrandonW had a few ways of doing that, you should look on wikiti or in his calcstuff folder
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on December 14, 2009, 07:20:35 pm
http://www.unitedti.org/forum/index.php?showtopic=8657

Now I'm wondering what MirageOS does with SMC in its programs...
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Eeems on December 14, 2009, 07:24:44 pm
Hmm, now you've got me wondering....
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: DJ Omnimaga on December 14, 2009, 07:40:05 pm
I am unsure. I always wondered about writeback too
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: mapar007 on December 15, 2009, 10:49:39 am
Writeback is as handled as simply as just copying back the entire $9D95 area to the program's space, so I guess the same goes for SMC. DCS does it more "intelligently". (that means: check if anything has changed, for "garbage collection" purposes)

EDIT: @Seren: MOS programs are STILL copied from archive to the 9D95 area, they don't run from archive, so there's no problem in using SMC/writeback.
Title: Re: Guitar Hero with SOUND on a CALCULATOR!
Post by: Seren on December 15, 2009, 06:05:03 pm
Yeah, but it was just that I was under the impression that MirageOS or Doors only modified the bytes that were changed because of SMC in the archive to prevent Garbage Collections. But of course, I know now this is not the case.