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

Pages: 1 ... 10 11 [12]
166
Casio Calculators / Re: Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 06:15:06 pm »
X and Y are used internally when drawing things - so you should not use them.
The same is true for r and theta when doing polar stuff.

167
Casio Calculators / Re: Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 05:44:07 pm »
You could use the famous PxlOff 1,1 trick to force a screen refresh. ;-)
Actually, lots of those refresh issues were fixed with the fx-9860G series; however, a few are still there...

168
Casio Calculators / Re: Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 05:30:41 pm »
Have a look at this:

Code: [Select]
// Program: INIT
Cls
BG-None
AxesOff
Horizontal -1
Horizontal 1
StoPict 1
Cls
Vertical -1
Vertical 1
StoPict 2

// Program: TEST
Prog "INIT"
While 1
Cls:RclPict 1_ // '_' is the small triangle
Cls:RclPict 2_
WhileEnd

Quote
Actually I noticed something even worse: Cls doesn't do anything
Indeed, when "Cls" is followed by a loop, the screen won't be cleared immediately.

PS: I don't own a Prizm yet.

169
Casio Calculators / Re: Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 04:53:02 pm »
Maybe this is because the program execution stops after RclPict 1?
Try putting it into a loop or append the small triangle command after RclPict to pause the interpreter (until you press [EXE]).

170
Casio Calculators / Re: Your Prizm OS versions
« on: January 18, 2011, 04:45:35 pm »
Quote
Really? Some people told me 3rd-party add-ins such as Kucalc's overclocking program did not work in it, same for that raycaster someone (him?) wrote a few years ago.
Programs doing direct hardware access are most likely going to crash.

171
Casio Calculators / Re: Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 04:35:18 pm »
Quote
Does special characters actually take more space than the regular ones?
As long as they're non-ASCII.

Quote
Does this allow copying individual programs to the RAM? Being forced to copy entire packages might not be something I want, especially when each program is 15 KB large.
As far as I know, this copies any program within a *.g1m/*.g2m file into the user RAM.
You may ask Simon to obtain the source code.

Quote
Nope, no luck. Here's my code (Casio Prizm OS 01.01.0200):

Code: [Select]
Cls
Vertical -3
StoPict 1
Cls
BG-None
RclPict 1
And if you go to RUN|MAT and enter "Cls:RclPict 1"? This will display the coordinate system with an additional vertical line on my fx-9750GII.
Inside RUN|MAT you can press [Shift]+[F3] and reset the view window with [F1] - just in case the vertical line is not within the display area...

172
Casio Calculators / Re: Your Prizm OS versions
« on: January 18, 2011, 03:58:36 pm »
Quote
The FX-9860G emu was not even compatible with 3rd-party add-ins
But the fx-9860G/GII manager emulator does support add-ins.
Too bad you have to pay for it.

173
Casio Calculators / Re: Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 03:39:11 pm »
Quote
-One question I have is can we omit quotes at the end of Locate? In TI-BASIC you can do things such as Output(1,1,"HELLO WORLD instead of Output(1,1,"HELLO WORLD") as long as the next code is on a different line, but I was wondering if it was the same on Casio? That usually saved us some bytes of RAM.
"Locate" and "Text" seem to allow this, but it's bad practice and does not seem to work with the ":" command either. Actually, I have never used this. The few bytes you save get lost by using special characters.

Quote
-Also are there any assembly tools that allow us to run programs directly from the Storage memory
Maybe this is what you are looking for?
http://casiokingdom.org/modules.php?name=Downloads&d_op=viewdownloaddetails&cid=16&lid=542&ttitle=FX9860G_LOADER_2.00#dldetails

Quote
-Also how would we recall a picture from a program on the Prizm? I tried RecallPict 1 (after storing a pic with StorePict 1) and it does nothing... ???
You could try clearing the screen first using "cls" and you should disable any background image with "BG-None". Unfortunately, there is no way to test if a picture exists - causing a memory error sometimes.

174
Casio Calculators / Getting started in Casio-Basic? You can ask here.
« on: January 18, 2011, 02:58:58 pm »
This is a thread where you can put your Casio-Basic related questions.
Me and the other Casio guys will try to answer these.

175
News / Re: Turn your Casio FX-9750GII into a FX-9860GII
« on: January 18, 2011, 01:04:02 pm »
Ah ok, thanks for the clarification. Strange that french models requires such additional step, though. ???
This is mainly because on an fx-7400GII/fx-9750GII starting the OS update procedure via LINK/Receive has to be hard-coded (due to missing syscall support on these devices) and this beta version of pfxrecover does not know the checksums of French models yet. However, Simon Lothar - who wrote the update utility - is already working on an improved version.

You can work around this problem by starting the OS updater via the calc's BIOS when it boots up. This can be achieved on all GII models by a special key combination. On older models you have to close P104 (which is the OS update contact) on the PCB while pressing the reset button.

176
News / Re: Turn your Casio FX-9750GII into a FX-9860GII
« on: January 18, 2011, 11:15:39 am »
The original discussion can be found here (in English): http://www.casiocalc.org/?showtopic=4959

177
Casio Calculators / Re: PRIZM Disassembler
« on: January 18, 2011, 10:18:51 am »
One question: Why aren't you using IDA Pro Advanced for this?
Simply open the add-in file and select SH3B as the processor type.

A cracked version is available here (v5.5): no.links2piratedprograms.plz

Offset 0x7000..0x7044 with IDA:

Code: [Select]
ROM:00007000 loc_7000:                               ; DATA XREF: ROM:0009DFFC
ROM:00007000                                         ; ROM:0009E17C
ROM:00007000                 mov.l   r14, @-r15
ROM:00007002                 sts.l   pr, @-r15
ROM:00007004                 add     #-4, r15
ROM:00007006                 mov.l   r4, @r15
ROM:00007008                 mov.l   dword_7028, r3 ; h'300034
ROM:0000700A                 jsr     @r3
ROM:0000700C                 mov     r5, r14
ROM:0000700E                 mov.l   dword_702C, r1 ; h'38DF00
ROM:00007010                 mov     #1, r6
ROM:00007012                 mov     #0, r4
ROM:00007014                 jsr     @r1
ROM:00007016                 mov     r6, r5
ROM:00007018                 mov.l   dword_7030, r7 ; h'33767C
ROM:0000701A                 extu.w  r14, r5
ROM:0000701C                 mov.l   @r15, r4
ROM:0000701E                 add     #4, r15
ROM:00007020                 lds.l   @r15+, pr
ROM:00007022                 jmp     @r7
ROM:00007024                 mov.l   @r15+, r14
ROM:00007024 ; ---------------------------------------------------------------------------
ROM:00007026                 .align 4
ROM:00007028 dword_7028:     .data.l h'300034        ; DATA XREF: ROM:00007008
ROM:0000702C dword_702C:     .data.l h'38DF00        ; DATA XREF: ROM:0000700E
ROM:00007030 dword_7030:     .data.l h'33767C        ; DATA XREF: ROM:00007018
ROM:00007034 ; ---------------------------------------------------------------------------
ROM:00007034                 mov.l   dword_706C, r7 ; h'38FE4C
ROM:00007036                 mov     #0, r6
ROM:00007038                 mov.l   dword_7070, r4 ; h'38FE50
ROM:0000703A                 bra     loc_7042
ROM:0000703C                 mov.l   @r7, r2
ROM:0000703E ; ---------------------------------------------------------------------------
ROM:0000703E
ROM:0000703E loc_703E:                               ; CODE XREF: ROM:00007046
ROM:0000703E                 mov.l   r6, @r2
ROM:00007040                 add     #4, r2
ROM:00007042
ROM:00007042 loc_7042:                               ; CODE XREF: ROM:0000703A
ROM:00007042                 mov.l   @r4, r5
ROM:00007044                 cmp/hs  r5, r2

Pages: 1 ... 10 11 [12]