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 ... 14 15 [16] 17 18 ... 38
226
News / Re: TI-84 Plus C: new photos reveal more than 3MB archive space
« on: November 16, 2012, 10:27:15 pm »
If there are no wait states, OTIR becomes a possibility. Of course, only if we can scrape together enough RAM for that to be useful.

227
Other / Re: large-capacity music players
« on: November 16, 2012, 02:15:47 am »
I think you'd have to find either a very expensive player or a very old player. Many older players used laptop form-factor 3.5 inch hard drives, but often the firmware was only coded to understand a limited range of drives. The SD card standard is pretty limited in available sizes compared to CF cards, which use the same electrical signaling and protocol as EIDE hard drives, and so in principle can go up 2 TB.

228
General Calculator Help / Re: TI connect is acting really weird.
« on: November 15, 2012, 06:36:42 pm »
Does TI Connect ever NOT work strangely?

229
Use a motherboard with a built-in serial port and use Windows XP. I mean, the above process will eventually get you such a computer, so it's not wrong. I'm just trying to speed it up.

230
Other Calculators / Re: Calc prices on TI website... something wrong?
« on: November 14, 2012, 06:08:50 pm »
Because the teacher said you can't use an Nspire. Remember, although students buy graphing calculators, it's teachers that they advertise to. (Which means that free market economics doesn't apply to graphing calculators, which is why they're overpriced.)

231
News / Re: A new z80 calc... in color?
« on: November 14, 2012, 06:03:08 pm »
ZDS doesn't. He's probably thinking of TI Flash Studio.


If a 1 MB flash chip costs $1.50 and a 2 MB flash chip costs $2.00, what is the price difference between a TI-84+ and a TI-84+SE, which are identical in every way except for the flash chips and different dye in the plastic case? (Seriously, the boot code unlock function is only there because the boot code needs to inform the ASIC whether it's in a TI-84+ or SE.)

So yes, by TI's logic, $150 is totally reasonable.

232
Other / Re: $820 in 3d softwares for free!
« on: November 14, 2012, 11:05:21 am »
Damnit the site won't open. I'm looking at a blank white page.
Happened for me, too. It turned out to be my browser. Try IE.

233
News / Re: A new z80 calc... in color?
« on: November 14, 2012, 11:02:31 am »
Fixed.

234
News / Re: A new z80 calc... in color?
« on: November 14, 2012, 10:46:36 am »
Or we do what TI did and edit the colors a bit and move some text around.

The real WTF here is that TI included the TI-84+ series skins in the TI-30X emulator.

235
News / Re: A new z80 calc... in color?
« on: November 14, 2012, 10:43:16 am »
That mockup image was created in Adobe Illustrator. It's not blurry, it's anti-aliased.

Anyway, this might get taken down, but here's an SVG similar to the above image, and a high-res PNG render of it. The file was extracted from the official TI-30X emulator TI sells to teachers. I'd post the whole .jar file (renamed to .zip so you can explore it), but the attachment limit is 4 MB and the .jar file is 9 MB.

236
News / Re: TI-84 Plus C: new photos reveal more than 3MB archive space
« on: November 13, 2012, 11:34:00 pm »
If the 40350 test passes, you can use this to dump ROM pages:
prgmPAGEDUMP 114 bytes of code
Code: [Select]
AsmPrgm
EFD74AEF2842
2005210000
180E21FF00
EF464B5D54B7
21FF00ED527DF5
21049ECDE49D
21FF9DE7EFF142
3803EFC64F
21FF9DE7210040
E5EF6A4EE17D12
137C12134D44
F1EF175021FF9D
E7EFD84FC9

F5CB3FCB3FCB3F
CB3FCDF39DF1
E60F0630FE0A
38020637807723
C9

1550414745
000000
Use it like this:
0:Asm(prgmPAGEDUMP)
This will create an appvar named PAGE00 and automatically archive it. Similarly, you can do 1:Asm(prgmPAGEDUMP) and get PAGE01 and 255:Asm(prgmPAGEDUMP) to get PAGEFF, because $FF = 255. Then, just send them to another calculator and post them online for analysis. Definitely get pages 0-7, and send those to another calc just in case dumping additional pages segfaults or something. (Who knows, maybe TI made it so that even reading from the certificate causes a reset.) Those pages should at least point us in the right direction. Pages 240-255 (especially 254 and 255) might also be good.

This will throw ERR:INVALID DIM if Ans is not a number, not an integer, or not in the range 0-255. This will throw ERR:MEMORY if there is not at least 16400 bytes of free RAM.

For automation, {0, 1, 2, 3, ...}:Asm(prgmPAGEDUMP) will fail. But For(A, 0, 7):A:Asm(prgmPAGEDUMP):End will dump the first seven pages for you.

Spoiler For Assembly source code:
Code: [Select]
.nolist
#include "ti83plus.inc"
.list
.org 9D93h
.db 0BBh, 6Dh

; check RAM
; ld hl, 4000h
; b_call(_EnoughMem)
; jr nc, gotRam
; ld hl, errNoMem
; b_call(_PutS)
; b_call(_NewLine)
; ret
;gotRam:
; get ans
b_call(_RclAns)
; convert to int
b_call(_CkOP1FP0)
jr nz, notZero
ld hl, 0
jr havePage
notZero:
ld hl, 255
b_call(_ConvDim00)
ld e, l
ld d, h
or a
ld hl, 255
sbc hl, de
havePage:
ld a, l
push af
; convert to hex at
ld hl, dumpNamePage
call intToStr
; make var
ld hl, dumpName
rst 20h ;b_call(_Mov9ToOP1)
b_call(_ChkFindSym)
jr c, noDel
b_call(_DelVarArc)
noDel:
ld hl, dumpName
rst 20h ;b_call(_Mov9ToOP1)
ld hl, 4000h
push hl
b_call(_CreateAppVar)
pop hl
ld a, l
ld (de), a
inc de
ld a, h
ld (de), a
inc de
; copy data
ld c, l
ld b, h
pop af
b_call(_FlashToRam)
ld hl, dumpName
rst 20h ;b_call(_Mov9ToOP1)
b_call(_Arc_Unarc)
ret


;------ ------------------------------------------------------------------------
intToStr:
; A is the byte to display, HL write address
; push af
; push bc
push af
srl a
srl a
srl a
srl a
call db1
pop af
and 15
; call db1
; pop bc
; pop af
; ret
db1: ld b, '0'
cp 0Ah
jr c, db2
ld b, 'A'-0Ah
db2: add a, b
ld (hl), a
inc hl
ret


;====== Data ===================================================================
dumpName:
.db AppVarObj, "PAGE"
dumpNamePage:
.db 00, 00, 00
;errNoMem:
; .db "Need 16400b.", 0

237
News / Re: TI-84 Plus C: new photos reveal more than 3MB archive space
« on: November 13, 2012, 07:10:59 pm »
(7:00:35 PM) DrDnar: On the TI-84+C, create a program with the contents: AsmPrgm:210080:36E1:23:36E5:23:36C9:CD0080:EF0745:C9 and run it with Asm(. Tell us what number it displays. We're expecting 40355.
(7:06:46 PM) DrDnar: Basically, if AsmPrgm:210080:36E1:23:36E5:23:36C9:CD0080:EF0745:C9 crashes instead of spitting out a number, we're screwed and won't be able to do anything until getting our hands on the hardware ourselves.

Er, so you can't use colons (the : character) in asm programs. You need to do
Code: [Select]
:AsmPrgm
:210080
:36E1
:23
:36E5
:23
:36C9
:CD0080
:EF0745
:C9

Update:
(7:33:24 PM) OmnomIRC: (O)<calc84maniac> any particular reason you're doing pop hl \ push hl \ ret instead of pop hl \ jp (hl) ?
(7:33:53 PM) DrDnar: Hmm, that's pretty smart.
(7:33:58 PM) DrDnar: .z80 jp (hl)
(7:34:13 PM) DrDnar: Saves like five bytes.
(7:34:25 PM) OmnomIRC: (O)<calc84maniac> I'm thinking a LD HL,$E9E1 \ LD ($8000),HL \ CALL $8000 \ BCALL(_DISPHL) \ RET
(7:34:32 PM) VijfIrssi: less typing for meh :D
(7:34:38 PM) DrDnar: Yeah, do that.
(7:34:46 PM) DrDnar: @z80 LD HL,$E9E1 \ LD ($8000),HL \ CALL $8000 \ BCALL(_DISPHL) \ RET
(7:34:47 PM) RunerBot: [Z80] Assembly \ Pastebin attempt failed \ 13 bytes \ 21E1E9220080CD0080EF0745C9
(7:36:32 PM) DrDnar: New correct address: 40350
Code: [Select]
:AsmPrgm
:21E1E9
:220080
:CD0080
:EF0745
:C9
Correct address is now 40350.

238
News / Re: TI-84 Plus C: new photos reveal more than 3MB archive space
« on: November 13, 2012, 05:42:04 pm »
23 K of RAM suggests that they are not switching to an eZ80. 3.2 MB of flash means they've done something that breaks ports 6 and 7. There's no way of knowing how broken existing tools will be. My guess is that port 6 will exclusively map flash and port 7 will exclusively map RAM, which will break a small number of programs. My guess is also that they have not restored the calculator back to 128 K of RAM; in fact, there may well be only 48 K of RAM. Even if the Z80 is clocked at 50 MHz, games will have a hard time driving all those pixels, and buffered graphics will be painful to program, if there's even enough RAM at all.

The existing BASIC parser doesn't support reading directly from flash. Also, the OS goes out of its way to prevent you from passing RAM pages (80h+) to functions that are supposed to manipulate flash. This is why, when there was 128 K of RAM, you couldn't use the extra RAM as flash---TI went out of their way to make sure we couldn't do such a thing, probably because they didn't want us to execute apps from RAM.

239
Quote from: Zilog documentation
Zilog’s eZ80® CPU is a high-speed, 8-bit microcontroller capable of executing code four times faster than a standard Z80 operating at the same clock speed. The increased processing efficiency of the eZ80 CPU improves available bandwidth and decrease power consumption. The eZ80 CPU’s 8-bit processing power rivals the performance of competitors’ 16-bit microcontrollers.

The eZ80 CPU is also the first 8-bit microcontroller to support 16 MB linear addressing. Each software module, or each task, under a real-time executive or operating system can operate in Z80-compatible (64 KB) mode or full 24-bit (16 MB) address mode.

The eZ80 CPU’s instruction set is a superset of the instruction sets for the Z80 and Z180 CPUs. The Z80 and Z180 programs are executed on an eZ80 CPU with little or no modification.
[emphasis added]

240
I wonder why they use the same damn cpu. The thing is too damn slow for proper graph plotting.
Actually, the Z80 is sufficiently fast enough. TI's code is just really, really inefficient. You could write quite a fast grapher using BBC BASIC.

Pages: 1 ... 14 15 [16] 17 18 ... 38