This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - thepenguin77
Pages: 1 ... 61 62 [63] 64 65 ... 108
931
« on: May 05, 2011, 09:37:01 pm »
I have another feature request: could you make it possible to have atomic masses with 4 digits, i mean this: H= 1.008 Ca= 40.08 Xe=131.3
etc. so that I can also use the molar mass calculator in class? thanks!
Well, I'm going to leave it at 2 decimals. That's what my friends and I who are in AP chem need. Personally I use calcutil for that, but the possibility to run it using zStart would be cool for some. Maybe, you could choose whether to recall a certain token or run an app/prog?
Yes, for handling the custom keys, that's probably what I'll do. I just wonder how I'll run programs that need Mirage/DCS.
932
« on: May 05, 2011, 05:16:39 pm »
That is pretty darn fast. Great work ^^
That was my primary goal in writing it. I wanted this thing to go as fast as possible. Although, I did get it down to about 4 fps with a space filler that filled the entire 160x160 with zebra stripes. It collapsed in on itself and the entire board was in chaos running at 4 fps. Is that at 15MHz? Also, I never understood the game of life
Nice job, though, using Mimas to code games looks cool, I only use it to learn.
Yes, it's at 15MHz. There's no reason to use 6MHz because of my huge RAM requirements. I just added in a save state today, so now I'm up to 19KB. I prefer not to use Mimas because I feel the small screen will end up leading me to make small games, but if you don't have time at a computer, it works great. I put out like 3kb of code in 4 hrs on chess, whereas this thing is only up to 1kb after 3 weeks.
933
« on: May 04, 2011, 10:51:30 pm »
Every thread needs a creative title. Lately, between track and homework for the AP tests, I have had almost no time to program. So I decided to start programming during school in Mimas. I decided to do Conway's Game of Life because I saw the demo for the Prizm and it looked like it would be fun to use. So I've been working on this during school for about two weeks now and finally today, it actually worked. Although, I probably would have finished this way sooner if I could have used a debugger. It's pretty frustrating to just make changes and hope the program doesn't crash. If you don't know what Conway's game of life is, here is the general idea: Every pixel is a cell acting independently, whether the cell lives or dies is decided by a set of rules: 1. If three of the eight cells surrounding a dead cell are living, it is born 2. If there are 0 or 1 cells surrounding a living cell, it dies of loneliness 3. If there are 2 or 3 cells surrounding a living cell, it lives on 4. If there are 4 or more cells surrounding a living cell, it dies of overpopulation To make all this happen, I use most of the extra ram page (13,608 bytes) as well as about 900 bytes of hard-coded routines to do all the checks for every bit. I use the concept of active and not active cells to speed up my simulation (if none of the cells around a cell are alive, it won't do anything next round either). I also make extensive use if IX. Some stats: - 160 x 160 board
- goal 16 fps (it typically does this until about 200 active cells)
Controls: - 2nd - toggle pixel
- Y= - clear board and recenter
- Zoom - step
- Graph - start/stop
- Clear - quit
Here is the game, I've been using it all day, so it works. I'll get the source later, it was written in Mimas after all. And I think my favorite part of this game is that while the actual game is only 1,042 bytes, it expands to about 1,900 bytes of code and uses 14,000 bytes of ram. Ironically, my name makes a pretty awesome design.
934
« on: May 03, 2011, 11:00:19 pm »
Revsoft has RealSound, which I'm biased towards. http://www.revsoft.org/phpBB3/viewtopic.php?f=20&t=247
RealSound I believe is the only program that has ever made me completely stop working on a long-term project. I had been trying to make my own sound program, (before TruSound), and I was doing pretty good with 1 bit sound. I eventually upgraded to about ugly 4 bit sound with the songs stored in 23 separate 64kb programs. The songs were OK, mostly about the quality where you would turn your radio to a different station and I was slowly making improvements over about a 6 months span. But then I sent the RealSound demo to wabbitEmu. After hearing a nearly perfect, "It's a me, Mario." I don't think I ever opened music.z80 again.
935
« on: May 03, 2011, 10:51:40 pm »
hey, midis are music just no lyrics, but you get a lot more on there.
Sorry, I didn't say that right. I had to get the post in quick though because I was getting ninja'd left and right.
936
« on: May 03, 2011, 10:49:54 pm »
Kerm's only plays Midi files, if you want to play actual .wav files, you'll have to use my program TruSound. Just be warned, the files are 22KB per second.
937
« on: May 02, 2011, 08:45:05 pm »
Ok, so I got the headphone thing working, it was a pain but it works. Updates: - ON + [Y=] - Toggle between head phone/normal mode (you can't link in headphone mode)
- Whenever my texts are displayed to the homescreen, it refreshes the cursor hook which Mirage destroys for no reason
- On + [COS] - now does nothing (you can find Asm( yourself lol)
About the headphone thing. During the monitor, (the context that flashes the cursor and handles keys), the OS runs a loop that is based on 3 interrupt cycles. 1 and 2 display the clock in the Mode menu, and 3 handles linking and keys. What happens is when headphones are in, the calculator sees that the link port is not normal, clears the getCSC value (why?), spends 1 sec waiting for link response, then checks the getCSC value it just cleared and restarts the GetKey loop. The problem comes from 1) the getCSC value is killed, 2) the calculator waits a second, and 3) the calculator resets the GetKey loop ever single time. This means 1) unless you are really lucky, the keys won't be detected, 2) it's slow as crap, and 3) the cursor doesn't blink. So my solution was to install a silentLinkHook that runs bcall(_kdbScan) (scan for keys), resets the silentLinking flag, and kills all silent linking. I didn't want to kill the silent linking, but the stupid one second delay left me no choice. Also, the cursor doesn't blink, but I can't make it without OS mods.
938
« on: May 02, 2011, 08:08:31 pm »
Google Chrome: Ctrl + F5: force a reload of the current page
This has saved me quite a bit of time.
939
« on: May 01, 2011, 12:30:17 pm »
Axe installed automatically on ram clear (and calcutil functionality as an option, like omnicalc would be awesome)
might it be possible to custom-assign the on+sin/cos/tan key combos with a token in the catalog?
* Darl181 walks away whistling For the Axe thing, I believe that Quigibo is trying to add an entry point for me. For calcutil, I'll look into that. And custom-assigning the on+sin/cos/tan keys, I can probably do that. Although it might be more useful if I made it the number keys rather than the trig functions.
940
« on: April 29, 2011, 07:30:51 pm »
Well, TempSwapArea = $82A5. So simple enough, $82A5 + 256 = $83A5 = MD5Buffer. MD5Buffer is hardly ever used, the only time would be when receiving OS's and Apps.
So to answer your question, the axe program you are using is changing it. (It doesn't change in Omnicalc)
And to refer to BrandonW.... (The highlight in this picture is from Google Chrome's awesome Ctrl+F.)
941
« on: April 28, 2011, 09:15:27 pm »
Boo! Sort of a necro but I have a possible feature request? Could you possibly add something that would make the os not freeze when something is plugged into the headphone jack? (Is that possible?)
There will never be a necro post in this topic. I've been doing this app for over a year, it's basically just my flash page where I can put hooks, so each update is more or less an individual project. This topic won't die until I do , or maybe when i reach 16kb of code. I like the idea of not freezing with headphones. However, I don't even have the slightest clue as to why it freezes, let alone stopping it. I do see serious potential there though, so I'll see if I can fix that.
942
« on: April 28, 2011, 06:00:31 pm »
Actually, Press-to-test is worse than that. Apps and Programs are only saved if they are disabled, and all other RAM and Archive is cleared.
That's definitely not true. It just deletes your groups, nothing else. And to add the the list. - Battery+[Del] -> [Mode] && no OS. You have to be quick with the [mode]. This enters the boot code self test, it does everything the regular one does and it checks the flash to make sure it works.
943
« on: April 27, 2011, 10:55:56 pm »
Stop making epic programs. Give someone else a chance
Now's your chance. Track and AP homework have me tied down for a while so you can get ahead of me with some crazy program. But after the AP tests and track are done...
944
« on: April 27, 2011, 05:16:15 pm »
Yes, the problem was the GetCSC, but not for the reason that you think. The problem was not the fact that bcalls are slow. While bcalls are slow (1000 t-states for the actual jump) you have to remember that bcall(_grBufCpy) is >100,000 t-states. The method that GetCSC uses is the same one that Ti-OS uses. A key check is run every interrupt and the result is placed in memory. GetCSC goes and finds that memory, and returns it. But, what the interrupt actually writes to memory is first parsed to make sure that it is what we want. For instance, if the last key scan showed that [5] was pressed, it doesn't want to return [5] again or else you'll press 5 twice. The same thing happens with arrow keys, except, with arrows, they repeat at a certain frequency. That way, menus aren't impossible to use. The slowness is actually feature. The only problem is that you have much larger distances to travel so you don't want the delayed repeat. Edit: Just think about scrolling while tracing. That's essentially what you are doing.
945
« on: April 23, 2011, 07:13:00 pm »
Edit2: Nvm, I lose. I didn't realize that we want to stop when we hit the walls, not loop. So just use this post as a learning exercise.
You're on runer. If we assume that the only requirements are that you are able to move the letter I around the screen, and quit, then this wins. I got it done in 40 bytes.
So "features" of this one: it shows a trail of 'I's, any key besides the arrows quits, 'I' starts at a random location (how fun!)
;de = xy
loop: bcall(_getCSC) ;a = key dec a ;down is 1, we just keep decreasing jr nz, notDown ;a because the keys are really nicely ;numbered for this inc e ;e is y notDown: dec a ;left is 2 jr nz, notLeft dec d ;d is x notLeft: dec a ;right is 3 jr nz, notRight inc d ;d is x notRight: dec a ;up is 4 jr nz, notUp dec e ;e is y notUp: dec a ;only things we are interested in ;0 = null, 1, 2, 3, 4 ;all of these will be negative by this point ret p ;return if it's positive ld a, e and 7 ;loop y at 7 ld e, a ld a, d and 15 ;loop x at 15 ld d, a
ld (curRow), de ;set the xy ld a, 'I' ;set the char bcall(_putMap) ;display it jr loop
Too bad ld (xxxx), de is 4 bytes. I didn't know that until just now.
Edit: Lol, runer, mine is so much more readable than yours. I'm still not exactly sure how it works.
Pages: 1 ... 61 62 [63] 64 65 ... 108
|