Search found 2375 matches

by dom
Sun Oct 11, 2009 1:48 am
Forum: Sinclair ZX
Topic: uIP porting
Replies: 12
Views: 16117

I've just played around with uip a bit, and the main problem seems to be IP address manipulation (easy fix is to use a u32_t and chase the propagating changes). I've got most of the kernel compiled now and it comes in at about 17k or so without a device driver and library routines, so say 20k when e...
by dom
Sun Oct 11, 2009 12:31 am
Forum: z88dk-developers
Topic: [z88dk-dev] Building support/debugger
Replies: 8
Views: 9395

I'm also thinking of way the LINE directive (in the assembler) can be used to autogenerate the debugger breakpoints so a recompile isn't necessary (which would make debugging a more pleasant experience). I've made a change to the assembler to create symbols when the LINE directive is met, if you co...
by dom
Sat Oct 10, 2009 2:59 pm
Forum: Sinclair ZX
Topic: uIP porting
Replies: 12
Views: 16117

The latest version of Zsock is up in CVS here: http://cvs.z88dk.org/cgi-bin/viewvc.cgi/?root=zsock As I left it, it worked on the z88, CP/M (via a hacked zxcc) and Linux. I had it running on a ZX at one point in time as well. I think the kernel itself is probably only useful as a historical curiosit...
by dom
Fri Oct 09, 2009 8:57 am
Forum: z88dk-developers
Topic: [z88dk-dev] Building support/debugger
Replies: 8
Views: 9395

A pragma directive would probably be the way to go. Something like: #pragma enable_debugger /* This will tell the crt to link in the debugger */ .. some code (not debuggable) ... #pragma debug_on /* Enable LINE symbol generation and turn off peep hole:ing */ .. Code which we want to debug ... #prag...
by dom
Thu Oct 08, 2009 9:24 pm
Forum: z88dk-developers
Topic: [z88dk-dev] Building support/debugger
Replies: 8
Views: 9395

Hi dom! I have now commited a few fixes that should make this work. One still must patch "my" test_crt0.asm into lib/ I was a little weary to change this file since it was not "mine". Maybe we could make another target, with a test_debug_crt0.asm? I need help for this though... ...
by dom
Wed Oct 07, 2009 9:24 am
Forum: z88dk-developers
Topic: [z88dk-dev] Building support/debugger
Replies: 8
Views: 9395

Hello again! I was on digest so I didn't get this message until now. I looked into the code and it seems you need to compile the test/machine directory first, since we use the .o files in the dbgbin. Maybe a library in test/machine would be a better way? About CMD_DBG I think you need to update tes...
by dom
Sun Oct 04, 2009 12:06 pm
Forum: Other platforms
Topic: Arch Linux
Replies: 2
Views: 9256

Hi, yup, that's a known issue that's been fixed in CVS. Since you're on a 64 bit platform I would strongly recommend that you take a nightly snapshot since a lot of 64 bit issues have been resolved since the release of 1.9 (rather than fix up this one particular issue).
by dom
Sat Oct 03, 2009 11:42 pm
Forum: z88dk-developers
Topic: [z88dk-dev] Windows installer for 1.9
Replies: 2
Views: 3995

Sorry for the "mail bombing" I'm doing recently :D Me and Marcello are going to have a little more free time and would like to try and build an updated installer for win32. Is it ok if we base it on the current CVS snapshot ? I have no objections to an installer being made from CVS, but p...
by dom
Mon Sep 28, 2009 10:34 pm
Forum: Bug reports
Topic: ZX Spectrum, math FP problems ?
Replies: 5
Views: 8263

And so I read for the 3rd time, and this time I don't get my z's and s's mixed up. mzx, that makes more sense!

I can see the error now as well, looks like a linker problem so I'll investigate it.

EDIT: Should be fixed now.
by dom
Mon Sep 28, 2009 10:19 pm
Forum: Bug reports
Topic: ZX Spectrum, math FP problems ?
Replies: 5
Views: 8263

No worries, it's easy to do (I do it all the time!). I'll sort out the build system to send out meaningful emails when it fails.

I didn't try the MSX thing - but f_yesno is in the ZX math library which I'm guessing shouldn't be involved in an MSX build?
by dom
Sat Sep 26, 2009 1:08 pm
Forum: Sinclair ZX
Topic: zxu4 development thread
Replies: 22
Views: 29620

Yup, rand() is available (look at the source/comments in z88dk/libsrc/stdlib/rand.asm), if you're using the generic fp library then fprand() is also available.
by dom
Sat Sep 26, 2009 9:22 am
Forum: Bug reports
Topic: ZX Spectrum, math FP problems ?
Replies: 5
Views: 8263

Actually Stefano, I've just noticed (should sort out the reporting I think) that the build has been broken since the 18th - it looks like you didn't check in zx_colour
by dom
Sat Sep 26, 2009 9:15 am
Forum: Sinclair ZX
Topic: zxu4 development thread
Replies: 22
Views: 29620

Andrew, I think the wiki http://z88dk.org/wiki/doku.php?id=library:interrupts has got an example of how to do interrupts with z88dk, it looks like you can do pretty much whatever you like. I was sorting through some old source code a couple of weeks ago and came across my multiple processes on the Z...
by dom
Sat Sep 26, 2009 9:03 am
Forum: Bug reports
Topic: ZX Spectrum, math FP problems ?
Replies: 5
Views: 8263

I get the same problem with the ZX, but no linking problems with an msx target. I've just tried it out on the cpm target (commenting out the graphics calls) and it does run, but never ends - the conditional check isn't met for FP numbers (make it <). Similarly running on that mode in the ZX the prog...
by dom
Wed Sep 09, 2009 8:17 am
Forum: Other platforms
Topic: Puppy Linux
Replies: 3
Views: 10190

Yup :)

I think this is the same as jannone's first problem.

Basically either you need Z80_OZFILES still set (with the trailing /) or add -IDESTDIR/lib to LINKOPTS in the config files and regenerate.
by dom
Thu Sep 03, 2009 5:50 pm
Forum: Other platforms
Topic: Installation on Ubuntu 9.04
Replies: 9
Views: 18300

That looks like another 64 bit portability issue. As you might have guessed, I'm slowly working through the issues that pop up (and with such old software there's bound to be a few!) so apologies, hopefully the next release will be 64 bit clean. If you do a cvs update on src/z80asm and then rebuild ...
by dom
Wed Sep 02, 2009 8:13 am
Forum: Other platforms
Topic: Installation on Ubuntu 9.04
Replies: 9
Views: 18300

Almost there, it looks like you need to set Z80_OZFILES to {z88dk}/lib/
by dom
Tue Sep 01, 2009 8:32 am
Forum: Other platforms
Topic: Installation on Ubuntu 9.04
Replies: 9
Views: 18300

I'm guessing it's a 64 bit install?

Two solutions.

1. Compile as a 32 bit app: export CFLAGS=-m32 and rebuild
2. Apply the patch here: http://www.z88dk.org/forum/viewtopic.php?id=3534 which hopefully fixes the 64 bit problems.
by dom
Fri Aug 14, 2009 9:05 pm
Forum: Project Activity
Topic: 64 bit patch for sccz80
Replies: 0
Views: 5469

64 bit patch for sccz80

I've finally created a 64 bit patch for sccz80, if anyone has a 64 bit machine I'd appreciate some feedback on it. I've compiled the libraries and they create the same result. The patch can be downloaded from: http://nightly.z88dk.org/patches/ To apply: cd z88dk/src/sccz80 patch -p0 < sccz80_64bit.p...
by dom
Fri Aug 14, 2009 2:33 pm
Forum: Windows
Topic: Is it possible to redirect output to current working dir of project ?
Replies: 2
Views: 9632

I think the flag -notemp is what you're looking for - stops it using the temp directory.

You may also want -no-cleanup which will stop it deleting the intermediate files.

BTW, giving the -h option to most of the programs (except zcpp and copt) shows all the options for the programs.
by dom
Fri Aug 14, 2009 9:16 am
Forum: Windows
Topic: v1.9 win32 binaries don't run on some windows
Replies: 16
Views: 30605

Ok, I've just tried on a pristine winxp box which has never had z88dk on it before.

It looks like you still need to set Z80_OZFILES=c:\z88dk\lib\, I'll look into this and try and figure out why the new code doesn't work they way it's meant to.
by dom
Thu Aug 13, 2009 9:49 pm
Forum: Windows
Topic: v1.9 win32 binaries don't run on some windows
Replies: 16
Views: 30605

Ooops, missed that post!

The -\\ thing looks like I was a tad over zealous in replacing the / with \ .

You'll need to replace the -\\ with -// on the OPTIONS line of the z88dk/lib/config/*.cfg files for the targets you're using.

Alternatively, grab a nightly which hasn't got that problem.
by dom
Thu Aug 13, 2009 6:49 pm
Forum: Windows
Topic: v1.9 win32 binaries don't run on some windows
Replies: 16
Views: 30605

Nope, we've just not get an installer this time.

You just need to unzip the zip file to c:\ and setup the path and environment variables.
by dom
Mon Aug 10, 2009 10:17 am
Forum: Project Activity
Topic: new stdio
Replies: 6
Views: 13824

can I suggest that the "test" target might be a good initial target since it's pretty much a raw z80 and is unencumbered by a current io implementation as well as being shipped with z88dk so it's available for everyone. I can do that but the only trouble with a raw test target is it's dif...
by dom
Sat Aug 08, 2009 8:54 pm
Forum: Project Activity
Topic: new stdio
Replies: 6
Views: 13824

Very nice (ideas and code) I think an example implementation will make things a lot clearer - can I suggest that the "test" target might be a good initial target since it's pretty much a raw z80 and is unencumbered by a current io implementation as well as being shipped with z88dk so it's ...