Search found 2176 matches

by stefano
Tue Nov 15, 2011 4:44 pm
Forum: Bug reports
Topic: ZX81: C console print position does not match BASIC print position
Replies: 33
Views: 48951

Fixed.
Try also the 1 bit sound functions ;)
by stefano
Wed Nov 09, 2011 4:28 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Yes, but I suspect that most of the speed is lost due to the quantity of lines rather than columns :) Perhaps staying in 24 lines text mode is not worse than HRG.. Reversed the fix, now by default no tweaks are needed. To save memory in HRG mode now you have few options: to restrict to 64 rows, to i...
by stefano
Tue Nov 08, 2011 4:33 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

I'd just follow your proposal, keeping the fully working behaviour by default, honestly I'm wasting so much memory in other ways that few optional tweaks should be put in in any case, so as already done in other targets the optimizations will need explicit exceptions. I'd love to put an effort onto ...
by stefano
Mon Nov 07, 2011 6:28 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

No, I dit not still update it because it was not so easy as it looked: by restoring the original ROM slow mode I'd have exposed the ZX81 to faults quite quickly, so I put in a new option: #pragma output slowfix In HRG mode, at the cost of about 150 bytes, it loads both the HRG and the text interrupt...
by stefano
Sat Nov 05, 2011 2:36 pm
Forum: Other targets
Topic: Sharp MZ-80K
Replies: 3
Views: 6201

Let me try to give you more details: I could successfully run some console based example on the mz700_win emulator, that one including also other targets. Have you rebuilt the libraries too ? Try moving into libsrc, making mz_clib.lib and mzansi_clib.lib anc copying the resulting libraries in ../lib...
by stefano
Thu Nov 03, 2011 6:46 pm
Forum: Other targets
Topic: Sharp MZ-80K
Replies: 3
Views: 6201

Hi,
I hope it is fixed already, the MZ libs were not tuned to read the keyboard.
Now they should work
by stefano
Thu Nov 03, 2011 6:38 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

:|
mm.. ok, right.
Sorry, I lost in tuning the video sync and forgot hrg_off.
I moved back to the 2 bytes counter for FRAMES which I noticed being enough for most of the applications, being valid in both ROM and tweaked video modes, and saving precious CPU time.
by stefano
Wed Nov 02, 2011 2:30 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Phew, it was not so easy as it looked !
There were few things to tune, hope the result is consistent and that I have not forgot code portions on the way.
by stefano
Tue Nov 01, 2011 5:27 pm
Forum: Sinclair ZX
Topic: https://skydrive.live.com/?mkt=en-gb#cid=1C842D5B23E1E0E2&id=1C842D5B2
Replies: 1
Views: 7001

Mmm, voice recognition with a Spectrum .. cool !
by stefano
Sat Oct 29, 2011 7:36 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Thank you !!
Ok, I'll work on it the next week ;)
by stefano
Fri Oct 28, 2011 6:16 am
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Siggi,
I think the latest updates could satisfy you.
There were few conditions together giving problems, last but not least the sync code relying on the FRAMES counter, which in turn is not incremented if interrupts are disabled.
Try now zx_fast and as_slow and let us know..
by stefano
Thu Oct 27, 2011 4:27 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

I think you are right.
Just to prove that fact.. acting on the interrupt directly seems to work without problems:

printf("slow\n");
#asm
out ($fe),a ; nmi on
#endasm

...

printf("fast\n");
#asm
out ($fd),a ; nmi off
#endasm
by stefano
Wed Oct 26, 2011 1:20 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Yes, it is not 'real' fast and.. yes again, the conde can crash if your functions force to the real FAST mode, because NMI is not disabled at all, but just redirected to other ROM routines. There are several ways to solve it: - to hang NMI for real and restart it afterwards.. calling 'restore81' bef...
by stefano
Wed Oct 26, 2011 11:29 am
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Bug closed ;) Well it is not a bug exaclty.. what happens with zx_fast() is that the ZX81 is thrown in the original 'FAST' mode (-startup=1), which was historically the only way to cope with z88dk, even if with strong limitations (no float, etc..). It is up to the programmers' ability to find those ...
by stefano
Wed Oct 26, 2011 7:27 am
Forum: Feature Requests
Topic: Sound and speech support for ZX81?
Replies: 8
Views: 16614

Yes, there is a nice trick to play one-bit sound by making the video flicker, but then you won't see the picture when the music plays ! I'd rather say it is possible to port some of the MSX or SEGA SMS libraries which are based on the Yamaha chip. I never did it because they are both very basic func...
by stefano
Mon Oct 24, 2011 8:06 pm
Forum: Bug reports
Topic: ZX81: zx_slow/zx_fast and HRG
Replies: 25
Views: 25954

Ok, it seems that some function still needs arrangments. The basic problem is that the math functions make heavy use of the IX index register, which is swapped to iy on the ZX81. The ROM calls need to call the restore81 function to be sure that the critical registers are correctly set, and they shou...
by stefano
Mon Oct 24, 2011 12:07 pm
Forum: z88dk-users
Topic: [Z88dk-users] Can't compile example WINTEST.c for ZX81
Replies: 12
Views: 14940

>>(+ are you aware of the svg graphics converter ?) >No. But I am not very familiar with graphic problems ;-) >It's new for me, especially when using my ZX81 .. Ok, then have a look in {z88dk}/support/graphics for a first run you can just move to that folder and compile the demo program which is rea...
by stefano
Sat Oct 22, 2011 10:20 am
Forum: z88dk-users
Topic: [Z88dk-users] Can't compile example WINTEST.c for ZX81
Replies: 12
Views: 14940

Fantastic ! well, I just put online the libs for arx816 mode, ansi text is (still) not supported but the 64 and 192 graphics libraries should be complete enough to run the same demos. (+ are you aware of the svg graphics converter ?) ------------------------------------------------------------------...
by stefano
Sat Oct 22, 2011 10:07 am
Forum: Texas Instruments Calculators
Topic: Compiled Code Never Runs Properly on TI84+ SE.
Replies: 5
Views: 11911

Well, the library is huge for several reasons; the 'ansi' version brings the whole font and sends it directly to the Display... that's why it is less firmware-dependent. In addition it features a full vt100/ansi emulation, probably it makes little sense on a calculator, but it is there and has its c...
by stefano
Thu Oct 20, 2011 11:10 am
Forum: z88dk-users
Topic: [Z88dk-users] Can't compile example WINTEST.c for ZX81
Replies: 12
Views: 14940

>You might also want to try 'xample.c' ;) >Both programs works great :) Good, what about othello.c ? There is some hint in its heading, you could try tweaking the higher memory allocations and run it in full graphics mode.. ansi text is mandatory to mix text and gfx. More ideas.. - to avoid the ANSI...
by stefano
Wed Oct 19, 2011 11:00 am
Forum: z88dk-users
Topic: [Z88dk-users] Can't compile example WINTEST.c for ZX81
Replies: 12
Views: 14940

Ok,
now it is fixed.

It required a change on gui.h and games.h
I also adjusted the linkage process for the zx81 hrg libs, moving to a faster clrarea routine ad adding the missing 'invhrg' module.
You might also want to try 'xample.c' ;)

Coming soon.. arx816 mode !!
by stefano
Tue Oct 18, 2011 10:31 am
Forum: z88dk-users
Topic: [Z88dk-users] Can't compile example WINTEST.c for ZX81
Replies: 12
Views: 14940

Error in expression _BKRESTORE ... Error in expression _BKSAVE Do I have to add more libraries? No, you just met two missing functions :rolleyes: For that specific demo they could be replaced by a do-nothing placeholder. You could put them in zx81_crt0, i.e., at the end of the file: XDEF bksave XDE...
by stefano
Sun Oct 16, 2011 5:05 pm
Forum: Texas Instruments Calculators
Topic: Compiled Code Never Runs Properly on TI84+ SE.
Replies: 5
Views: 11911

In most of the cases it was a matter of packaging, see this topic too: http://www.z88dk.org/forum/viewtopic.php?id=3953 On the lib point of view, try choosing the 'ansi' version (+ti8xansi), it is less firmware dependent. BTW it is time to update the docs with the infomations we could get from the u...
by stefano
Thu Sep 29, 2011 10:34 am
Forum: Other targets
Topic: Tatung Einstein
Replies: 10
Views: 11833

Hope so :)
Sorry for the telegraph-style, please feel free to ask, when you'll be stuck ;)
by stefano
Mon Sep 26, 2011 3:26 pm
Forum: Windows
Topic: Million errors
Replies: 9
Views: 16871

I'm always in trouble with those config files on windows, and every time I install z88dk on a new system I'm re-inventing the wheel (everything changes from cygwin to mingw32). Just I hope it is not due to something I put online ages ago and then I forgot.