Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
25 May, 2013, 08:12:52 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  home news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

  Show Posts
Pages: 1 [2] 3 4 ... 189
16  Calculator Community / Other Calculator Discussion and News / Re: TI84+ C Silver New-Availability at Underwood Distributing on: 16 March, 2013, 03:28:48
Darn those packages are ugly lol. I think some calcs used them around 1995 or so. I can't wait to get mine, though.

It sucks that it doesn't include TI-Connect, though. Sad I hope that TiLP gets updated with TI-84 Plus C Silver Edition support in the meantime, otherwise people who got the calc already won't be able to transfer programs until TI releases TI-Connect 4.0 for Windows.
Actually, TI-Connect 1.6 can send/receive most variable types just fine, excluding Images and Pictures (and maybe OSes)

TI-84 Plus C Silver Edition support has been added in TI-Connect since 2004? shocked
No, more like a TI-84+CSE follows the same protocol so it can link with 83+/84+ family calculators.
17  Calculator Community / Other Calculator Discussion and News / Re: TI84+ C Silver New-Availability at Underwood Distributing on: 16 March, 2013, 03:18:36
Darn those packages are ugly lol. I think some calcs used them around 1995 or so. I can't wait to get mine, though.

It sucks that it doesn't include TI-Connect, though. Sad I hope that TiLP gets updated with TI-84 Plus C Silver Edition support in the meantime, otherwise people who got the calc already won't be able to transfer programs until TI releases TI-Connect 4.0 for Windows.
Actually, TI-Connect 1.6 can send/receive most variable types just fine, excluding Images and Pictures (and maybe OSes)
18  Calculator Community / TI-Nspire Projects / Re: gpSP-Nspire (GBA Emulator) on: 12 March, 2013, 02:48:31
Calc, why doesn't the Gameboy logo appear before a game starts like it used to?

Because I don't boot through the BIOS anymore, it gets annoying after a while and it also might hang for some hacked ROMs.
19  Calculator Community / TI-Nspire Projects / Re: gpSP-Nspire (GBA Emulator) on: 11 March, 2013, 01:48:18
Ah, that would be the problem. The game needs to be something like FireRed_Pokemon.gba.tns, otherwise it won't show up in the gpSP file browser.
20  General Discussion / Math and Science / Re: Interesting data structures and algorithm you may not have heard about on: 06 March, 2013, 19:58:06
Binary Indexed Tree, a data structure which represents an array that can both be modified in O(log n) time and retrieve the sum of any range of elements in O(log n) time. In addition, the storage requirements are no more than that of an array of the elements.

The alternatives to this method are simply keeping an array of the elements, which is O(1) for modification and O(n) for range sum, or keeping an array of the cumulative sum, which is O(n) for modification and O(1) for range sum. Binary indexed tree is the best of both methods at O(log n) for each operation, and it can be implemented in a very small amount of code.

Seriously small:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Note that indices start at 1

// Get sum from elements 1 to k
int get_prefix_sum(int k) {
   int sum=0;
   for(; k; k-=(k&-k))
      sum += array[k-1];
   return sum;
}

// Add n to element k
void add_to_element(int k, int n) {
   for(; k<=array_size; k+=(k&-k))
      array[k-1] += n;
}

Edit: Also, here are some related helper functions.
Spoiler for Hidden:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Sum from element a to b
int range_sum(int a, int b) {
   return get_prefix_sum(b) - get_prefix_sum(a-1);
}

// Get element k
int get_element(int k) {
   return range_sum(k,k);
}

// Set element k to value n
void set_element(int k, int n) {
   add_to_element(k, n - get_element(k));
}
21  Calculator Community / The Axe Parser Project / Re: Features Wishlist on: 27 February, 2013, 15:02:58
Did everybody forget about Pt-Get? Big frown
22  General Discussion / Gaming Discussion / Re: Zelda discussion on: 25 February, 2013, 22:29:24
I really need to try Ages/Seasons one day. Back in the late '90s and early 2000's I wasn't too fond of the idea of buying/supporting new Nintendo console games because at that time I felt that all they tried every sneaky way possible to grab money from us hardcore gamers by doing the following practices:

-Charging $79.99 for games instead of $59.99 like on the Playstation and Sega Dreamcast. It's not because of cartridges, because until late 2004 they did it on the GameCube too (sometimes you could get the console for cheaper).
-Requiring buying an extra $39.99 expansion pack to play most late Nintendo 64 games, as if $79.99 for a game wasn't enough
-Requiring purchasing an extra game in order to 100% a game (Most Pokémon games and Zelda OoA/OoS) and sometimes even an extra Game Boy Advance.

Of course now it isn't as bad so I don't really mind anymore.
I heard recently that it was confirmed Ages/Seasons are going to be on the 3DS eShop in the future, so that might be a good time to try them Cheesy
23  Calculator Community / Axe Language / Re: really big files and how to use them on: 25 February, 2013, 20:47:39
I haven't really looked through the problem, but here's a little trick you can use to optimize your code a whole lot -


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{L+0}->A
{L+1}->B
{L+2}->C
{L+3}->D
{L+5}->F
{L+6}->G
{L+7}->H
{L+8}->I
{L+9}->J
{L+10}->K
{L+11}->L
{L+12}->M
{L+13}->N
{L+18}->S
{L+19}->T
{L+14}->X
{L+15}->Y

can be replaced with


1
2
Copy(L,{E}9CFB,16)

where {E} is the EE key where your comma is on the keypad.
False. First of all, there are alphabetical gaps in those variable names. Secondly, variables are two bytes large and a Copy() won't skip every other byte. Lastly, it's very bad practice to use raw hex values as variable pointers, the ° operator exists for a reason.
24  Omnimaga / News / Re: TI-84 Plus C Silver Edition text output performance test on: 25 February, 2013, 01:07:49
What I am curious about, though, is how with Disp the 6 MHz 83+Fr managed to run as fast as the 84+SE in Classic mode? It looks like this model uses a different LCD driver, because I remember stuff like how on my TI-81 Disp was much faster than on my 83+
I thought the TI-83+.fr was really a TI-84+ in disguise, running OS 2.55MP? In that case, it would be running at 15MHz like any other TI-84+.
25  Omnimaga / News / Re: Discovering TI-84 Plus C Silver Edition BASIC programming: New TI-Planet pics! on: 24 February, 2013, 05:28:39
It would have to be a little more advanced than that, though, because of the status bar. Actually, if the LCD wasn't rotated 90 degrees, that might be possible, because the controller supports "Partial Image Display" that displays a certain part of the LCD RAM on a specified number of scanlines. But since our scanlines are vertical, that doesn't help very much.
26  Omnimaga / TI-Boy SE - Game Boy Emulator For TI-83+SE/84 / TI-Boy SE readme editing help on: 23 February, 2013, 00:59:09
So, I've been planning on releasing the TI-Boy beta on ticalc for a while now, but I think the readme could be improved for "the masses", so to speak. Any input on this is much appreciated Smiley

Here's my first draft for beta 0.2.04:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
TI-Boy SE Beta 0.2.04
by calc84maniac (Outside The Box Programming)

Table of Contents:
* Disclaimer
* Overview
* New features in the Beta version
* Creating APPs
* Sending APPs
* Controls
* Frequently Asked Questions (READ THESE BEFORE ASKING YOURSELF)
* Credits
* Version History

Disclaimer:
  This is a beta piece of software (though a well-tested one). The creator is not held responsible for any damages caused. Use at your own risk!
  TI-Boy will temporarily replace part of the TI-OS, for greater speed and more available RAM. An automatic recovery feature is included in the case of a crash.
  Nonetheless, this program is not likely to permanently brick your calculator. The most damage it might cause is a RAM clear and/or an OS reinstall.

Overview:
  TI-Boy SE is a Game Boy emulator (no Game Boy Color support) for the TI-83+SE, TI-84+, and TI-84+SE calculators. Do not expect incredible compatibility.
  This was rewritten from scratch since the Alpha version, specifically to support newer TI-84+/TI-84+SE calculators (which have smaller RAM chips).
  TI-83+ and TI-Nspire are not supported, and never will be.

New features in the Beta version:
  * Works on all black-and-white TI-84+ models
  * Better game compatibility
  * Significantly faster CPU emulation
  * Has four zoom levels (100%, 75%, 60%, 50%)
  * More intuitive zooming controls (pressing Plus and Minus!)
  * Black-and-white zoom modes use dithering to increase visual quality
  * Supports 4-channel sound output
  * Recovers RAM data in the case of a crash

Creating APPs:
  Note: Any warnings given about pages beginning with FFh can be safely ignored, because TI-Boy patches the defragmentation glitch in the TI-OS.

  Method 1: Drag-and-drop
    Open the TI-Boy folder, then drag a Game Boy ROM file onto tiboy_makeapp.exe. A command-line window should open.
    If the ROM opened successfully, the program will request a name for the APP. Type it in and press Enter.
    Watch the console output for any compatibility warnings.
  Method 2: Run the EXE
    Open the tiboy_makeapp.exe directly. A command-line window should open and ask for a ROM filename. You may have to enter the entire filepath.
    If the ROM opened successfully, the program will request a name for the APP. Type it in and press Enter.
    Watch the console output for any compatibility warnings.
  Method 3: Command-line arguments
    Open a command-line window and navigate to the TI-Boy folder.
    Enter in the following format: tiboy_makeapp romfilename.gb AppName
    Watch the console output for any compatibility warnings.

Sending APPs:
  Use TI-Connect or other compatible linking software. Note: Not all TI-Boy APPs can fit on non-Silver Edition calculators (see FAQ).
  People have reported problems sending some APPs over Direct USB (a solution is being looked into). Sending over Silverlink seems to work, though.

Running TI-Boy:
  Open the APPs menu, and start the APP.
  It should display the loading screen. Do not remove a battery while this is loading, or you will have to reinstall the TI-OS.
  Then, start playing! (See controls below.)
  To quit, press the ON button. Quitting takes a few seconds as it restores the TI-OS. Again, do not remove a battery during this step.
  If the emulator freezes and pressing ON does not cause it to quit (which does work in most cases), feel free to remove a battery.
  TI-Boy will automatically restore the TI-OS and your previous RAM contents if this happens.

Controls:
  Arrows: Game Boy D-Pad
  2ND: Game Boy "A"
  ALPHA: Game Boy "B"
  MODE: Game Boy "START"
  XT0n: Game Boy "SELECT"
  ON: Game Boy power switch (exit the emulator)

  CLEAR: Teacher Key or Battery Saver (suspends emulation and turns off the screen)
  STAT: Toggle sound emulation (default is off). See FAQ for more information.
  * (Times): Increase LCD contrast
  / (Divide): Decrease LCD contrast
  + (Plus): Zoom in
  - (Minus): Zoom out
  Numpad: Move view
  F2,F3,F4 (WINDOW,ZOOM,TRACE): Light,Normal,Dark monochrome modes (smooth zoom)
  F5 (GRAPH): Grayscale mode (rough zoom)
  . (Decimal): Follow next sprite in the internal list (selected sprite will flash for a few frames)
  5: Center view on selected sprite
  0: Turn off sprite follower
  (-): Set frameskip (hold the negation key and press a number 0-9 to set the value)

Frequently Asked Questions:
  Q. Sound emulation? What's up with that?
  A. When sound emulation is turned on, TI-Boy will to the best of its ability emulate the Game Boy sound hardware and output sound waves to the I/O data port.
     However, this comes at a performance cost. There are 4 channels that are emulated, and 2 are outputted to each ear. There is no volume control.

  Q. How do I listen to the sound?
  A. You will need a 2.5mm-male to 3.5mm-female adapter to plug in standard headphones/speakers to the I/O data port.
     It is recommended that you plug in the headphones after starting TI-Boy (because the homescreen responds very slowly when headphones are plugged in).

  Q. How big are the APPs?
  A. Generally, take the size of the ROM and add 16KB (16384 bytes). Sometimes you might get lucky and have a smaller APP if there is a lot of empty space in the ROM.
     Pay attention to the size displayed when tiboy_makeapp.exe finishes.

  Q. Will xxxx ROM fit on my calculator?
  A. If you have a Silver Edition, ROMs up to 1MB (1024KB) in size will fit. If you have a normal TI-84+, ROMs up to 256KB in size will fit.
     Make sure to delete useless APPs from your calculator if needed.

  Q. So the compatibility issues with newer calculators are fixed?
  A. Mostly. There is still not enough RAM to emulate cartridges which use 32KB RAM, added to all the RAM in the Game Boy itself.
     Thankfully, such cartridges are few and far between. Also, such games that do not use all of that RAM, such as Pokemon Red/Blue/Yellow, can run with no issues.

  Q. Which calculators have a large enough RAM chip for this RAM-hogging game I want to play?
  A. All TI-83+SE calculators have the larger RAM chips. TI-84+SE calculators have larger RAM chips if they were manufactured before around April 2007.
     To be more specific, check the back of your calculator. The last part of the serial number should be in the format X-MMYYR,
     where MM is the month, YY is the year, and R is the revision. For example, S-0207G means manufactured in February 2007 with revision G.
     Revisions G and earlier have the larger RAM chips, and revisions H and later have the smaller RAM chips.
     If the revision letter is missing, that means it is before revision A (and should work).

  Q. What exactly does TI-Boy do to my calculator when it runs? Why the warnings?
  A. TI-Boy needs part of the Flash (Archive) memory which is taken by the TI-OS. So, it backs up this section of the OS and puts its own data there.
     Also, this is where your RAM is backed up in the case of a crash. When TI-Boy exits, the OS is put completely back to normal.
     There are two reasons for doing this:
     1) The emulator becomes quite a bit faster and simpler if GameBoy data can be in the space normally taken by the OS.
     2) Having control of this memory space allows automatic recovery in the case of a crash.

  Q. Does tiboy_makeapp convert Game Boy ROMs into native TI code?
  A. No. The ROM is slightly rearranged to fit into an APP and bundled with the emulator code. Converting to native TI code is infeasible for many reasons.

  Q. My calculator died! It's all your fault!
  A. Don't panic! To send a new OS, hold DEL while inserting a battery to bring up the Send OS screen.
     And make sure to report the bug, because we don't want this sort of thing to happen, now do we? ;)

  Q. Where is xxxx feature?
  A. Be patient, there's a reason this is a beta. I'll probably get around to it (as long as it's within reason).

  Q. xxxx ROM doesn't work!
  A. Sorry, but specific game compatibility is at the bottom of my to-do list at the moment.

  Q. how do i tern on my caclulater
  A. ...

Credits:
  calc84maniac for coding/design
  thepenguin77 for clean flash unlock hack
  FloppusMaximus for Rabbitsign (app signer). Source code can be found at http://www.ticalc.org/archives/files/fileinfo/383/38392.html
  Omnimaga for all the awesome community support

Version History:
  Beta 0.2.04:
    * First official beta release on ticalc.
    * makeapp.exe updates:
      - Name changed to tiboy_makeapp.exe.
      - Compiled against librabbitsign, so it no longer requires a separate rabbitsign executable.
      - As a result, the program no longer calls the system() function which was making some users' antivirus software very angry.
      - The tiboy.bin file is also now baked into the executable.
  Beta 0.2.03:
    * Rearranged code and data to allow using 16KB of cartridge RAM on all calculators. This means that Pokemon Red/Blue/Yellow can be run on all calculators!
    * Games that have 32KB of cartridge RAM but only use the first 8KB, 16KB, or 24KB will now only save to 1, 2, or 3 appvars respectively.
    * Fixed a waitloop detection error, speeding up parts of some games like Kirby's Dream Land.
  Beta 0.2.02:
    * The STAT behavior is fixed for real, cycling through all 3 modes within each scanline.
  Beta 0.2.01:
    * Timer emulation is more accurate relative to emulation speed, fixes Super Mario Land freezing.
    * More STAT compatibility. Now it cycles through all 3 modes.
  Beta 0.2.00:
    * Rearranged some code/data, allowing TI-84 Pocket.fr compatibility and freeing some RAM.
    * Reimplemented waitloop detection, which should eat much less CPU time per frame now.
    * Rendering tricks are more reliably detected, fixing graphics in parts of some games.
    * Emulator control keys are checked more often, improving responsiveness. Also, sprite tracking selection improved.
    * Added custom frameskip settings.
    * GPU speed is more accurate when sound is enabled, speeding up parts of some games.
    * Timer emulation is more accurate, fixes music in Super Mario Land among other things.
    * Extremely high-pitched sounds are changed to a slightly lower pitch, which should prevent freezes.
    * Bit 1 of STAT is now toggled at every scanline from 0 to 143, which fixes some games.
    * makeapp.exe updates:
      - Allow manual special character entry in app names, by typing \XY (XY is a hexadecimal character value)
  Beta 0.1.07:
    * Fixed some small bugs introduced in Beta 0.1.06.
  Beta 0.1.06:
    * Added support for 4-channel sound.
  Beta 0.1.05:
    * Added some support for low-priority sprites, i.e. sprites can be displayed behind the background tilemap. Fixes quite a few graphical glitches!
    * Fixed a cartridge RAM mapping glitch, which fixes compatibility with TI-Boy Alpha 4-appvar saves. Breaks compatibility with TI-Boy Beta 4-appvar saves.
  Beta 0.1.04:
    * Added timer check in RET opcodes, which significantly increases framerate in Pokemon textboxes.
  Beta 0.1.03:
    * Added light and dark monochrome palettes
    * Reincluded the defragmentation OS glitch patch so APPs won't get corrupted if pages start with 0xFF.
    * makeapp.exe updates:
      - Internal appnames are padded with spaces instead of null bytes for better linking software compatibility.
      - Trailing pages filled with 0x00 or 0xFF bytes are now removed from ROMs. This saves a lot of space in certain ROMs (e.g. saves 304KB in Pokemon Red).
  Beta 0.1.02:
    * Save files are archived upon exit.
    * Fixed glitch in which only the first 8KB is loaded from a 32KB save.
    * Fixed very bad glitch in 32KB saving caused by bcall(_DelVarArc) trashing (OP1).
    * Pressing Select no longer causes a false press of B on some calculators.
    * makeapp.exe updates:
      - Output app is now always placed in the same folder as the exe.
      - APPs which have 32KB saves now have a maximum of 7 characters in their names (because the save data goes into 4 separate appvars which need unique names)
  Beta 0.1.01:
    * TI-Boy no longer makes a resident patch to the OS (so the OS stays valid and there are no conflicts with other patches).
    * Flash writing is now done in 6MHz mode so it works on slower flash chips.
    * makeapp.exe updates:
      - Spaces in ROM filename now handled correctly when program is run with no arguments.
      - Searches for tiboy.bin and rabbitsign in the same folder as the exe.
      - Displays number of pages in generated APP.
  Beta 0.1.00:
    * First public beta (on omnimaga.org)
27  Omnimaga / News / Re: KermM and critor Run First 3rd Party Code on TI-84+CSE on: 20 February, 2013, 09:25:09
Yes, like that, DJ, but keep in mind it will never be more than 1 pixel behind. That GIF is very exaggerated. Broadcast television is interlaced.
Depends on the framerate we get, though.
28  Omnimaga / News / Re: KermM and critor Run First 3rd Party Code on TI-84+CSE on: 19 February, 2013, 20:38:50
The LCD controller seems to support a horizontal scroll mode, much like the vertical Z-addressing on the old LCD controller. This seems like it could be incredibly useful for sidescrollers, to use a method much like DJ_O mentioned (shifting and drawing only over the columns shifted in). There doesn't seem to be an equivalent for vertical scrolling though, so 8-directional scrollers won't really benefit (unless they use a method like Super Mario Bros 2 USA where the game pauses for a moment while scrolling the entire screen up/down by a certain amount).
29  Omnimaga / News / Re: Discovering TI-84 Plus C Silver Edition BASIC programming: New TI-Planet pics! on: 19 February, 2013, 00:24:03
I bet the OS stores a (probably compressed to 8-bit color) copy of the graph screen into the extra RAM, because when drawing to the graph screen, it remembers what you put there after switching to a different screen.
(Special thanks to critor and KermM for these pictures.)
Not 4-bit? You can only draw with 15 colors, you know.
30  Calculator Community / Other Calculator Discussion and News / Re: TI-84 Plus C Silver Edition hardware test on: 18 February, 2013, 21:24:15
Nope, "normal rate" there is about 6.3MHz.
Pages: 1 [2] 3 4 ... 189
Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.254 seconds with 27 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.