Search found 37 matches

by berk
Mon Dec 03, 2018 8:59 pm
Forum: Misc
Topic: z80asm equ
Replies: 11
Views: 7830

Thank you :-)
by berk
Sun Nov 25, 2018 9:04 pm
Forum: Misc
Topic: z80asm equ
Replies: 11
Views: 7830

Thank you - I will try
by berk
Fri Nov 23, 2018 9:13 pm
Forum: Misc
Topic: z80asm equ
Replies: 11
Views: 7830

z80asm equ

Hello,

z80asm doesnt support following syntax:

label: equ value

I have to remove colon in this case. Would it be possible to enable also this form?

Thank you

--berk
by berk
Thu Jan 12, 2017 8:59 pm
Forum: z88dk-developers
Topic: [z88dk-dev] New Release for 2016?
Replies: 22
Views: 34716

Hello, I have tested couple of my projects for ZX Spectrum and ZX81 and all works well for me. I have tested win32 build. Thank you for your effort! ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel X...
by berk
Sun Nov 20, 2016 12:56 pm
Forum: Windows
Topic: Z88 DK Helper
Replies: 2
Views: 6507

Hello Andy,

it is quite good to have such helper. But it would be really great if you made plugin for integration with some IDE (Visual Studio, Eclipse or NetBeans).

Jarda
by berk
Wed Aug 10, 2016 9:07 pm
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

Anyway thank you for excellent project with rich libraries and surprising features like just bgi or ansi/vt. I am glad to see z88dk project active a lot.
by berk
Tue Aug 09, 2016 9:22 pm
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

Stefano thank you for your help - that was reason. I tried to use sprites and really it is quite better now. Sure not as perfect as in case of ZX Spectrum :-) Yes, I like to make ports to different platforms :-) C is very good and flexible language which is present everywhere. But the biggerst satis...
by berk
Mon Aug 08, 2016 9:19 am
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

I tried #pragma output hrgpage = 36096 but without success :-( If you want to see it - my project is here: https://bitbucket.org/berk76/tetris ZX Specrum version using sprites - works very well make -f Makefile.zx ZX Spectrum version using ANSI/VT - works slow but works correctly make -f Makefile.zx...
by berk
Sat Aug 06, 2016 5:51 pm
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

You are right. When I try to use for example this - it works zcc +zx81 ansitest.c -o ansitest -create-app -lndos -subtype=_wrx -clib=wrxansi -pragma-define:ansicolumns=32 So problem will be somewhere in my project which works only with wrx64 and not with wrx. I have to find reason. Also I am sorry f...
by berk
Fri Aug 05, 2016 3:28 pm
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

Ok, works well for WRX64. Would it be possible to implement also for wrx192 or for -startup=3,4?

I think it is not necessary to implement ANSI in standard text mode in this case.

Thank you.
by berk
Wed Aug 03, 2016 8:22 pm
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

Yes, I can confirm - thank you.

But still I am not able to compile ansi.c for zx81
(using: zcc +zx81 -clib=ansi -pragma-define:ansicolumns=64 -lndos -create-app -o ansi ansi.c)

I suppose ansi support for this platform is not finished yet. So I will be waiting.
by berk
Tue Aug 02, 2016 7:22 am
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

Thank you.
I have downloaded last version for win32 but now it say z80asm.exe is not compatible with 64bit version of Windows. Previous versions worked well.
by berk
Sun Jul 31, 2016 8:44 pm
Forum: Sinclair ZX
Topic: Ansi/vt
Replies: 15
Views: 13522

Ansi/vt

Hello,

I have two questions regarding ANSI/VT:

1) Is there any way how to create special national characters?
2) Do you know why ANSI/VT doesnt work for zx81? (it complains like: symbol 'text_rows' not defined, ..)

Thank you for advice.
by berk
Wed Jun 29, 2016 9:48 pm
Forum: Sinclair ZX
Topic: sdcc and time.h
Replies: 11
Views: 10544

In 99% of the cases I met "time.h" was used to set the rand() seed which, not mentioning the "emulator" related issue (it is so frequent that in a Spectrum emulator forum I read about a hack to shift the clock randomly), costs a lot of space in libraries, code and structures for...
by berk
Wed Jun 29, 2016 7:53 am
Forum: Sinclair ZX
Topic: sdcc and time.h
Replies: 11
Views: 10544

"time.h" has not been added yet because very few targets have realtime clocks available. For the zx, the classic lib is using the system variable FRAMES as a clock (it is incremented every 1/50s after power on). However because FRAMES starts at zero on power up, using time(0) as seed won'...
by berk
Tue Jun 28, 2016 10:06 am
Forum: Sinclair ZX
Topic: sdcc and time.h
Replies: 11
Views: 10544

Thank you - now it is more clear to me.
by berk
Tue Jun 28, 2016 9:32 am
Forum: Sinclair ZX
Topic: sdcc and time.h
Replies: 11
Views: 10544

Ok, but it is available for sccz80 and so it makes existing projects for sccz80 incompatible with sdcc.
It is quite pity :-(
by berk
Tue Jun 28, 2016 8:19 am
Forum: Sinclair ZX
Topic: sdcc and time.h
Replies: 11
Views: 10544

sdcc and time.h

Hello,

sdcc together with -create-app works well. But if I try to compile my project which contains srand(time(NULL) % 37); I get following error:

time.h: No such file or directory

What am I doing wrong?
by berk
Wed Jun 01, 2016 8:04 am
Forum: Sinclair ZX
Topic: Makefile
Replies: 6
Views: 6693

Well Done! Works well.

Thank you
by berk
Tue May 31, 2016 6:02 pm
Forum: Sinclair ZX
Topic: Makefile
Replies: 6
Views: 6693

Ok, I dont hurry. If you need more time for analysing and fixing you have it.
For me it is important that problem is known and somebody is working about it.

Thank you.
by berk
Tue May 31, 2016 1:44 pm
Forum: Sinclair ZX
Topic: Makefile
Replies: 6
Views: 6693

Thank you for fixing and for mentioning of other pitfalls :-)

I didnt know about -preserve flag
Yes, I will delete zcc_opts.def in clean target.

So I will try it tomorrow.
by berk
Tue May 31, 2016 12:30 pm
Forum: Sinclair ZX
Topic: Makefile
Replies: 6
Views: 6693

Makefile

Hello, it seems it is not possible to use Makefile. I have created simple test program: #include <stdio.h> int main(void) { printf("Test\n"); return 0; } If I use zcc +zx -otest -create-app test.c -lndos all works Well But if I use following Makefile CFLAGS = +zx -c -o $@ CC = zcc all: tes...
by berk
Mon Mar 21, 2016 5:03 am
Forum: Sinclair ZX
Topic: Gomoku
Replies: 7
Views: 7704

In build z88dk-win32-20160321 seems to be all OK.
Thank you dom!
by berk
Sun Mar 20, 2016 6:48 pm
Forum: Sinclair ZX
Topic: Gomoku
Replies: 7
Views: 7704

Ok. Thank you for your support and fast reaction.
by berk
Sun Mar 20, 2016 2:40 pm
Forum: Sinclair ZX
Topic: Gomoku
Replies: 7
Views: 7704

Here is isolated code. Choose x several times... #include <stdio.h> int main(int argc, char **argv) { int c; printf("%c",12); /* cls */ printf("%c%c", 1, 32); /* 32 characters */ while (1) { puts("Do you want to play with X or O?"); c = getchar(); while (getchar() != '\...