NewsProductsSprinterSupportDownloadSprinter ForumAbout usLinksSite map Russian site

English
   >> Software programming for the computer Sprinter
Thread views: 1147 View all threadsNext thread*Threaded Mode

Pages in this thread: 1 | 2 | 3 | 4 | 5 | (show all)
Anonymous
(Unregistered)
2002/10/01 19:50
C compiler Reply to this post

Z88DK now supports some basic i/o for the Sprinter. It's still experimental but a port of Adventure A have been produced.

The Z88DK main site is at http://z88dk.sourceforge.net/ and the Sprinter files should be in the CVS when you read this.



Shaos
(enthusiast)
2002/10/02 10:38
Re: C compiler new [re: Anonymous]Reply to this post

When Sprinter support will be at the release Z88DK?


Alexander Shabarshin (shaos@mail.ru)
http://www.shaos.ru

dom
(stranger )
2002/10/02 14:16
Re: C compiler new [re: Shaos]Reply to this post

It will be in the next full release (whenever that is!), in the mean time
I've prepared a snapshot which can be downloaded from
http://sugarcube.suborbital.org.uk/~dom/z88dk/ since messing around
with CVS isn't everyone's idea of fun.



flydream
(newbie)
2002/10/02 15:52
Re: C compiler new [re: dom]Reply to this post

Is it possible to programming using high resolution graphics?



liftarn
(stranger )
2002/10/02 17:26
Re: C compiler new [re: flydream]Reply to this post

As far as I know it's currently limited to text only, but I guess graphics will not be far away. You could ofcourse get the source code and code your own functions for high resolution graphics.



liftarn
(stranger )
2002/10/04 16:05
Attachment
Re: C compiler new [re: dom]Reply to this post

I tried both messing around in the CVS and looking in your dump file, but I didn't find the Sprinter files anywhere.

Btw, I attach Adventure A for those who want to try it out.



dom
(stranger )
2002/10/04 16:58
Re: C compiler new [re: liftarn]Reply to this post

Sprinter specific stuff is in:

z88dk/lib/pps_crt0.asm (startup)
z88dk/libsrc/stdio/sprinter
z88dk/libsrc/fcntl/sprinter

Build the kit (instructions in README.1st) and then compile the program with zcc +pps [file.c]



liftarn
(stranger )
2002/10/04 17:42
Re: C compiler new [re: dom]Reply to this post

Ah, I was looking for z88dk/libsrc/sprinter



Shaos
(enthusiast)
2002/10/09 15:12
Re: C compiler new [re: dom]Reply to this post

What kind of functions I may use for Sprinter programs?
printf? fopen? fprintf?
Tell me about memory using in Z88DK, what about code larger 64K. What about big data?


Alexander Shabarshin (shaos@mail.ru)
http://www.shaos.ru

dom
(stranger )
2002/10/09 16:13
Re: C compiler new [re: Shaos]Reply to this post

I'm going to reference some functions by header files to shorten this message:

assert.h, ctype.h, stdio.h, string.h

Floating point routines, exit, atexit, malloc, free etc

Console stdio is supported. I've implemented file routines, but not fully tested them - I understand that there's a problem with directories on the real hardware - but through SPRINT reading files certainly works.

Graphics isn't supported at all - I've not had time to read through the available source code and docs to implement it.

z88dk supports the concept of far pointers, so in theory far data can be read, however far data support is built upon machine specific libraries which hasn't been implemented for the Sprinter.

Far code is problematic and is something that hasn't been implemented yet, it would certainly be possible to write a wrapper function that takes a far pointer and then calls the function. However, the destination function would have to be in a separately compiled program and you might as well incorporate dll (libman) support into the port. Unfortunately, the assembler used doesn't support the concept of overlays/segments which would make implementing native far code somewhat tricky.

Thoughts have been appearing about replacing the assembler with something like asz80 but at present they're just thoughts and nothing has been done.




Pages in this thread: 1 | 2 | 3 | 4 | 5 | (show all)
View all threadsNext thread*Threaded Mode
Jump to