Show Posts

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 - DrDnar

Pages: 1 ... 5 6 [7] 8 9 ... 38
91
Holy necro... O.O
"Holy" and "necro" don't usually go together.

92
ASM / Re: Splash screen test on TI-84+C
« on: May 19, 2013, 05:05:49 pm »
Quote
   - Brandon Wilson for the LCD driver info on WikiTI, and for ti84pcse.inc
Actually, Brandon Wilson provided almost none of that information. If you check the history, you will see that I did 98% of the LCD driver write-up. The RAM, B_CALL, and flag equates of ti84pcse.inc were discovered by Benjamin Moody (Flop) and the new token equates were given by Christopher Martin (KermM). I wrote up the list of symbolic names for ports and collected the data into a unified include file, and I just posted a minor update to the file. The MicrOS post I made a while ago contains a complete text-mode driver for the color screen, and shows both writing (PutC) and reading (ReadChar). I may also soon post code for turning the LCD on and off and for controlling the backlight.

93
TI Z80 / Re: zStart - an app that runs on ram clears
« on: May 19, 2013, 02:41:10 pm »
In case of archive corruption, remove a battery, hold clear, reinsert the battery while holding clear, and press on while still  holding clear; this will prevent archive parsing. In case of OS corruption, do the same but use stat or del (they switch between USB and serial); this will force the boot code to display the send-OS screen so you can receive a new OS.

EDIT: Don't use mode. (It's a self-test.) That will erase your archive!

If you read the readme, you'd know that zStart adds another emergency button of its own, vars. This will disable the zStart autoruns.

94
ASM / Re: Splash screen test on TI-84+C
« on: May 17, 2013, 06:26:25 pm »
Any thoughts about doing some fancy lossy image compression? I estimated that, using JPEG-like DCT compression, you could fit a full-resolution image that's almost indistinguishable from an uncompressed image in about 20 K.

95
General Calculator Help / Re: TI 84+SE USB Voltage Output?
« on: May 07, 2013, 03:15:46 am »
If you really want a backlight that much, you could also buy a TI-84+CSE. . . .

96
General Calculator Help / Re: TI 84+SE USB Voltage Output?
« on: May 07, 2013, 12:39:53 am »
The TI-84+/C/SE uses a linear voltage regulator to drop the voltage coming out the batteries down to 3.3 V. Then, inside the ASIC, it uses a charge pump to boost the voltage back up to 5.0 V. That charge pump is not active most of the time. You'll need an assembly program to turn it on. It would be unwise (though probably harmless) to attempt to connect the calculator to a computer when the charge pump is active.

Do not attempt to wire the USB port directly to the batteries. Doing so could damage anything you connect to the USB port. If you're willing to disassemble the calculator, it would be better to cut a hole in the calculator to make your own port for the light. Though, by then, you might as well just make it a traditional backlight controlled by a switch.

97
Miscellaneous / Re: Girl and Calculator go to prom
« on: May 05, 2013, 04:29:23 am »
Why has nobody asked, "Why isn't she on [favorite community Website]?"?

98
General Calculator Help / Re: ROM Error?
« on: May 04, 2013, 03:46:34 pm »
ROM error suggests that the OS is corrupted. I recommend backing up all data, and then using the Reset All Memory function. Then, resend the OS. If you're really sophisticated, reflash the boot sector(s), though it's probably unnecessary. This should ensure every sector (except the certificate) is not corrupted.

99
TI Z80 / Re: automatic overclocking
« on: May 01, 2013, 11:56:20 pm »
The calculator already does that to give the four different CPU speeds, except it uses resistors instead of capacitors. The SMT soldering required to do what you suggest gave KermM a run for his money, and he has a master's degree in this stuff. If you desolder the capacitor and can't get a replacement installed, your calculator's CPU will not function. You're dealing with components with sub-millimeter sizes. You need special equipment and special skills to avoid breaking things.

100
TI Z80 / Re: Announcing MicrOS, Calcsys for the TI-84+CSE
« on: April 26, 2013, 07:53:39 am »
The "small" letters definitely look great... But yeah, if the speed is so slow that it's becoming a pain for the user, well...
Not at all. Like I said, it feels faster than the OS, and the screen repaint time feels like it matches the key repeat rate. It doesn't, but MicrOS feels more responsive than the OS because it can queue a keypress that's registered while the screen is still painting, thanks to improved, interrupt-based keyboard routines. I also optimized some of the screen handling routines. For example PutSClrWind displays a string, and writes whitespace into any unused area; thus, when displaying a new menu, it doesn't need to clear the whole screen at once (including areas that are already blank anyway), then display the string, because PutSClrWind takes care of both, such that each pixel need only be visited once.

(Also, could you actually leave the font choice to the user, or would that be too much trouble to make ?)
It's not technically impossible, but it's definitely not something I would implement. The most you might get is support for it being a compile-time switch.

If you have questions about the internal architecture of MicrOS, I suggest looking in the source code. MicrOS is fairly modular, and the routines are actually documented, so you shouldn't have too much trouble figuring out how to add your own code. You're also free to use MicrOS code in other projects. For example, you can rip the interrupt and keyboard routines out and copy them into another project without much trouble. The convoluted logic of the keyboard debouncing code is probably the best example of well-commented code in the entire Z80 community.

101
TI Z80 / Re: Announcing MicrOS, Calcsys for the TI-84+CSE
« on: April 26, 2013, 06:54:57 am »
The ONLY reason I'm even considering a 2x upscaled font is for use with the 2x width mode. I tried making a font with 2x wide pixels but 1x high pixels, and I didn't like it. (The logic for vertically up-scaling by 2 is dead simple, because MicrOS scans pixels for the font top-down, the left-to-right. Thus, it's a simple matter of outputting each value twice.) The old 6x8 font would be less ugly, but would reduce the text mode to 26 columns and 15 rows. The speed improvement would be closer to 30%. And I'd have to adjust the hex editor and disassembler layout---there'd be no label at the start of each row.

102
TI Z80 / Announcing MicrOS, Calcsys for the TI-84+CSE
« on: April 25, 2013, 09:54:01 pm »
As most of you probably don't know, two years ago I wrote flash editor utility for the TI-84+/SE. The TI-84+CSE has prompted me to revive the project and rewrite most of it. MicrOS now functions on the TI-84+CSE and has the three vital utilities you'd want to see in a Calcsys replacement: port monitor, hex editor, and disassembler. Additionally, MicrOS, once loaded into RAM, does not use ANY B_CALLs; MicrOS has its own set of keyboard, screen, memory, and flash routines. Thus, you can use MicrOS to edit any part of the OS without fear of crashing MicrOS.

To run MicrOS, copy both MICROS and MILO to your calculator. Make sure MICROS is archived! Unarchive MILO and run it with the Asm( command. MILO will archive itself, load MicrOS into RAM, and transfer control to MicrOS. You'll notice that, because MicrOS doesn't use the OS display routines, it feels faster than the OS.

This initial beta release of MicrOS does not feature full functionality of the hex editor. In particular, the user interface side of the flash editor has not been implemented, nor has the find feature, nor the text mode of the hex editor. Currently, I am requesting comments before continuing major development. In particular, I would like opinions on whether to keep the existing font, or move to a 5x7 font with 2x upscaling. The 5x7 font would make displaying text about 40-50% faster, reduce the size of the font data set by over 1.5 KB, and be a lot uglier.

103
ASM / Re: 8X+(se) testers needed...
« on: April 19, 2013, 04:40:07 pm »
@DrDnar :
So, did you try the new version ?
To tell the truth, i'm kinda curious to see the results.
22 72 72 72
I find it rather strange, since so far the MicrOS keyboard routines I've written appear to work fine at 32 cycles delay. I promise you the ASIC is identical to the one in my TI-84+SE. If the keyboard is slower, it would be due to hysteresis in the keyboard matrix, not the ASIC.

104
Other Calculators / Re: 160x240 resolution possible on CSE
« on: April 19, 2013, 01:28:12 am »
R04 definitely does something. Here's a fun utility you can play with. It's like the Calcsys port monitor, but for the LCD.

Writing to many of those undocumented registers causes the screen to go haywire.

105
Other Calculators / Re: 160x240 resolution possible on CSE
« on: April 17, 2013, 12:57:22 am »
To sum things up, what I noticed is that on the CSE the scanlines are vertical instead of horizontal, so it's possible that it wouldn't affect the display methods above. The screen, unlike on the Game Boy Advance and TI-Nspire CX, was rotated 90° inside the calc it seems.
KermM figured that out long ago based on the datasheet for the driver, which is specifically designed for portrait-orientation LCDs. Hence why the WikiTI page on the LCD has this warning:
Quote
For those following along with the data sheet: Like before, the X/Y plane is flipped in the data sheet documentation. Specifically, the the screen is rotated 90 degrees from the way the manufacturer expects, so "horizontal" and "vertical" refer to the OTHER, i.e. horizontal means up and down on the screen. Also, "up" and "down" are switched with "left" and "right".
This is also why we select interlaced mode for the double-width pixels hack. If the controller scanned the other way, it would generate double-height pixels.

Pages: 1 ... 5 6 [7] 8 9 ... 38