292 résultats trouvés

par Xerxes
05 nov. 2021 23:40
Forum : Tous les Pockets
Sujet : Casio MD 100
Réponses : 3
Vues : 2308

Re: Casio MD 100

Salut Badaze,
you can use MF2DD disks without any problems but only one side will be used. HD disks don't work properly on the MD-100.
par Xerxes
25 avr. 2021 19:32
Forum : Tous les Pockets
Sujet : Misez p'tit, optimisez n°60 : Calculons Pi comme Viète
Réponses : 143
Vues : 87241

Re: Misez p'tit, optimisez n°60 : Calculons Pi comme Viète

dprtl a écrit : 25 avr. 2021 18:55 My first version was very inefficient.
I'am afraid that the test code of the n-queens benchmark for the ClassPad 300+, ClassPad 330 and
FX-CP400 has the same problem, because I also missed to use setdecimal at that time. I think I have
to remove the results of these calculators.
par Xerxes
25 avr. 2021 16:12
Forum : Tous les Pockets
Sujet : Misez p'tit, optimisez n°60 : Calculons Pi comme Viète
Réponses : 143
Vues : 87241

Re: Misez p'tit, optimisez n°60 : Calculons Pi comme Viète

dprtl a écrit : 23 avr. 2021 10:48 Ici, le programme met 46s à dérouler ses 26 itérations. Ce qui confirme ce que tout le monde sait déjà : la FX-CP400 n'est pas un foudre de guerre.
Salut Daniel, have you also checked the execution time using setdecimal instead of approx?
par Xerxes
29 oct. 2020 20:07
Forum : Tous les Pockets
Sujet : Casio graphiques couleurs
Réponses : 31
Vues : 13877

Re: Casio graphiques couleurs

Danny a écrit : 27 oct. 2020 09:33 Mais on dirait quand même que c’est difficile d’avoir une chronologie + précise au niveau de chaque modèle, tellement ils en ont sortis :|
03.1995 CFX-9800G

03.1996 CFX-9950G

05.1997 CFX-9850G Plus

08.1997 CFX-9970G
par Xerxes
12 oct. 2020 22:36
Forum : Tous les Pockets
Sujet : Photo d'un module OM-53B
Réponses : 180
Vues : 73113

Re: Photo d'un module OM-53B

Replycant a écrit : 12 oct. 2020 01:52 @XerXes, glad to see you here too. :)
Ditto! Very nice project. I didn't expect to see my AI-1000 ROM dump in a ROM card. I'm also interested in some cards, but obviously I have to wait.
par Xerxes
11 oct. 2020 20:49
Forum : Tous les Pockets
Sujet : Photo d'un module OM-53B
Réponses : 180
Vues : 73113

Re: Photo d'un module OM-53B

Salut,

some informations about the ROMs:

The OM-52C is identical to the built-in C of the PB-2000C.

A Lisp ROM card for the PB-2000C doesn't exist, but I've dumped the ROM of the AI-1000
for Piotrs PB-2000C emulator. I don't have the manual anymore, but here is a list of all
commands mentioned there:

Code : Tout sélectionner

apply
aref
cond
defmacro
defun
do
do*
eval
explode
fmakunbound
funcall
function(#')
gensym
get
go
if
implode
intern
let
let*
loop
make-array
makunbound
prog
prog1
prog2
progn
psetq
quote(')
remprop
return
set
setf
setq
symbol-name
symbol-value
unless
when

acons
append
assoc
butlast
caar~cddddr
car
cdr
cons
delete
eighth
fifth
first
fourth
last
length
list
mapc
mapcan
mapcar
mapcon
mapl
maplist
member
nconc
ninth
nreverse
nth
nthcdr
pairlis
rassoc
remove
rest
reverse
rplaca
rplacd
second
seventh
sixth
subst
tenth
third

/=
<
<=
=
>
>=
and
atom
boundp
consp
endp
eq
eql
equal
evenp
fboundp
functionp
listp
macrop
minusp
nil
not
null
numberp
oddp
or
plusp
special-form-p
streamp
string/=
string<
string<=
string=
string>
string>=
stringp
symbolp
t
vectorp
zerop

*
+
-
/
1+
1-
abs
acos
acosh
asin
asinh
atan
atanh
ceiling
cos
cosh
exp
expt
floor
log
max
min
mod
pi
rem
round
signum
sin
sinh
sqrt
tan
tanh
truncate

ash
logand
logior
lognot
logtest
logxor

close
format
load
open
prinl
princ
print
read
read-char
terpri
write-char

break
ed
step
trace
untrace

*init*
*print-base*
*print-case*
*print-escape*
*print-radix*
*read-base*
*standard-input*
*standard-output*
*terminal-io*

angle
beep
char-code
clear-screen
code-char
draw
drawc
gc
set-cursor
It's a MacLISP dialect. lexically scoped, tail-call optimized, lisp-1, bytecode compiler.

The manuals for C, Prolog und BASIC are available.

If you want to keep a program in memory while changing the ROM, you only need to convert
the file type to (S)equential. For C, Prolog and Lisp use the function keys [C/S}, [P/S]
or [L/S]. For BASIC it's neccessary to convert the tokenized program to a sequential file
using save"program.txt",a.
par Xerxes
06 sept. 2018 11:51
Forum : Tous les Pockets
Sujet : Sharp PC-G850VS Turbo Mode
Réponses : 1
Vues : 3645

Re: Sharp PC-G850VS Turbo Mode

Speed ups by software are marked as "Fast Mode" and by hardware modification as "Turbo".
I received the results of the modified PC-G850V from Japan and was a little bit surprised
about the modification from 8 to 32 MHz.
par Xerxes
07 févr. 2018 16:35
Forum : Tous les Pockets
Sujet : Misez P'tit, Optimisez - N°32 (factorielle)
Réponses : 115
Vues : 96868

Re: Misez P'tit, Optimisez - N°32 (factorielle)

The FX-190 has no K vars, but Viktor Toth from rskey.org found an elegant solution:

Code : Tout sélectionner

01  Min
02  *
03  (
04  MR
05  -
06  1
07  )
08  x>0
09  1
10  =
Usage example: 69 P1

And an improved version for the FX-180P that uses a K var instead of M, based on his idea:

Code : Tout sélectionner

01  Kin1
02  *
03  1
04  Kin-1
05  Kout1
06  x>0
07  x<->y
Usage example: 69 P1
par Xerxes
06 févr. 2018 17:23
Forum : Tous les Pockets
Sujet : Misez P'tit, Optimisez - N°32 (factorielle)
Réponses : 115
Vues : 96868

Re: Misez P'tit, Optimisez - N°32 (factorielle)

For more comfort, we need 2 program areas and some more steps:

Code : Tout sélectionner

P1:
01  -
02  -
03  1
04  Kin1
05  x<->y

Code : Tout sélectionner

P2:
01  Kin*1
02  =
03  x>0
04  Kout1
Usage exampe: 69 P1 P2
par Xerxes
06 févr. 2018 15:11
Forum : Tous les Pockets
Sujet : Misez P'tit, Optimisez - N°32 (factorielle)
Réponses : 115
Vues : 96868

Re: Misez P'tit, Optimisez - N°32 (factorielle)

Marge a écrit : 02 févr. 2018 23:59 I wonder... 3-steps, well, seems impossible to me... :wink:
It's possible on the FX-180P but somewhat awkward to use:

Code : Tout sélectionner

01  Kin*1
02  =
03  x>0
Usage example: 69 - - 1 Kin1 x<->y P1 Kout1
par Xerxes
02 févr. 2018 22:10
Forum : Tous les Pockets
Sujet : Misez P'tit, Optimisez - N°32 (factorielle)
Réponses : 115
Vues : 96868

Re: Misez P'tit, Optimisez - N°32 (factorielle)

The circular program execution of the TI-62 allows a very short code:

Code : Tout sélectionner

00 STO 0
01 *
02 INV DSZ
03 R/S
04 RCL 0
Usage example: 69 RST R/S

Even shorter, but less comfortable:

Code : Tout sélectionner

00 *
01 INV DSZ
02 R/S
03 RCL 0
Usage example: 69 STO 0 RST R/S

A small disadvantage to the nice code of zpalm for the TI-57 is the pending operator after the calculation,
that has to be cleared by ON/C eventually.
par Xerxes
20 janv. 2018 13:43
Forum : Tous les Pockets
Sujet : [Casio PB-80] Exploration du système
Réponses : 22
Vues : 22521

Re: [Casio PB-80] Exploration du système

Gilles59 a écrit : 02 janv. 2018 11:36 Je note que la syntaxe du PEEK est un peu différente que celle trouvée par Xeres pour les Fx-730 etc
Thanks to leglatin's findings about MODE18/19 on the PB-80, I was able to check the differences to the FX-730P.
The decimal address range is 0-99999 and is mirrored at 65536. The address range of the RAM is 0-32767 at the most,
because it's possible to extend the RAM to 32KB. The FX-730P allows MODE18(A,B) and MODE18(A,B$), but the result is
written in B$ as hex in both cases.
par Xerxes
10 déc. 2017 11:33
Forum : Tous les Pockets
Sujet : Misez p'tit Optimisez n°53 : la suite de Syracuse
Réponses : 169
Vues : 160711

Re: Misez p'tit Optimisez n°53 : la suite de Syracuse

Merci for your attention. It's a small optimization, that I've also used in the PB-1000/2000C code. It works, because the
content of register A is always even at that point, so it's only necessary to increment bit 0 or set it to 1. Therefore I've
rearranged the calculation of 3n+1 from n+n+n+1 to n+n+1+n.
par Xerxes
08 déc. 2017 22:12
Forum : Tous les Pockets
Sujet : Misez p'tit Optimisez n°53 : la suite de Syracuse
Réponses : 169
Vues : 160711

Re: Misez p'tit Optimisez n°53 : la suite de Syracuse

Xerxes a écrit : 28 nov. 2017 14:02This is pretty fast for 640 kHz and a precision of 64 bit.
I've checked the service manual of the 71B for more details about the CPU clock speed. If I'm not mistaken, the frequency
of 640 kHz refers to the internal machine cycle, that consists of 4 clock cycles. So if we want to compare different CPUs,
it's better to use the clock cycles and not the machine cycles, because some CPUs have varying machine cycle length.
The correct frequency of the 71B should be 2.4-2.6 MHz normally, that gives a machine cycle speed of 600-650 kHz.


Some examples of the needed clock cycles for one machine cycle:

Zilog Z80 3-6

HP Saturn 4

CASIO HD61700 2-3 (PB-1000)

SHARP SC61860 3 (PC-1360)

SHARP SC62015 3 (PC-E500)


A comparison of the BCD performance using the execution time of a 16 digit addition command:

SHARP SC61860 93 cycles @ 768 kHz = 8258/s

CASIO HD61700 47 cycles @ 910 kHz = 19362/s

HP Saturn 82 cycles @ 2.5 MHz = 30488/s

SHARP SC62015 63 cycles @ 2.3 MHz = 36508/s

Aller à la recherche avancée