Search found 1788 matches

by stefano
Fri May 20, 2022 3:57 pm
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

... I think the disk size is still wrong, the other results look strangely good :D
by stefano
Fri May 20, 2022 3:50 pm
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

When the QUICKLOAD is not available, run mame with the "-debug" option, boot the CP/M disk (mout the disk image and press F5), then type in the bottom row in the debugger window: "load c:\files\dpb.com,100". alph_debugger.png You can then move in the emulator windows and save the...
by stefano
Fri May 20, 2022 3:28 pm
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

MAME often allows a shortcut, after having loaded the CP/M system, to QUICKLOAD a .COM program in memory and run it directly.
So, even if you can't write in a disk image :
xerox820.png
by stefano
Fri May 20, 2022 8:11 am
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

Tool is ready ;) https://github.com/z88dk/z88dk/blob/master/examples/cpm/dpb.c A bit of inspiration came from an ancient tool by Sydex, which is capable of listing the skew table, thus sometimes it could still be useful. I adapted it to z80asm, so it's now easy to build with zcc or z88dk-z80asm: ; T...
by stefano
Thu May 19, 2022 3:13 pm
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

I noticed that both my cpmtools version and MAME are not always dealing with the disk image formats as expected, e.g. a specific model could work fine with RAW and D88 formats and fail with IMD, or vice versa.

BTW, here's my current progress, tested on the emulated Bondwell 14:
BW14.png
by stefano
Thu May 19, 2022 2:12 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: Information about calls in NEC PC-6001A basic rom
Replies: 6
Views: 76

Re: Information about calls in NEC PC-6001A basic rom

You should look around here: $2353 - [168] KEY The MS BASIC versions are usually close one each other. Here you are the commented version for the MSX. https://github.com/z88dk/techdocs/blob/fb0f764502f68487ee97c10d1511d4c9bfe8aec9/targets/msx/msxbasic.asm#L25373 The command syntax on the MSX include...
by stefano
Thu May 19, 2022 6:35 am
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

I decided to create an inspection program starting from dpb.com, it will be useful.
by stefano
Thu May 19, 2022 6:32 am
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Re: Trying to support the Xerox 820 with appmake

Yes. I'm comparing it with a working image containing only magic.com.
It looks almost identical, that's why I'm puzzled.

In the meantime I discovered a small difference in the allocation tables, now I changed from words to bytes, which you noticed as well.
Still no luck, though.
by stefano
Thu May 19, 2022 6:29 am
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: Information about calls in NEC PC-6001A basic rom
Replies: 6
Views: 76

Re: Information about calls in NEC PC-6001A basic rom

In theory you can use it as an initial feed to the SKOOLKIT disassembly suite.
I'm not sure it is easy to use on the PC6001, though. I think it has some sort of relocation mechanism in the rom, but I'm not 100% sure.
by stefano
Wed May 18, 2022 3:25 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: Information about calls in NEC PC-6001A basic rom
Replies: 6
Views: 76

Re: Information about calls in NEC PC-6001A basic rom

Try z88dk/support/basck/basck.c
It should be able to point out some of the ROM entries, if you use it to inspect the ROM files.
by stefano
Wed May 18, 2022 3:23 pm
Forum: CP/M, FLOS and OS related
Topic: Trying to support the Xerox 820 with appmake
Replies: 8
Views: 92

Trying to support the Xerox 820 with appmake

Some time ago I submitted a patch to the MAME project fixing the disk controllers on the basic Xerox820 model (SA400->SA400l drive models). The RAW format is not accepted yet, but IMD works fine. Now it is possible to work on the disk images with CPMTOOLS and, with a bit of work, run CP/M programs o...
by stefano
Wed May 11, 2022 9:56 am
Forum: Other targets
Topic: Galaksija
Replies: 34
Views: 4838

Re: Galaksija

I hope I solved the problem, look here: https://github.com/z88dk/z88dk/issues/2013 ..file size related problems are described at the bottom of the thread. I don't remember why I put in a blank space at the beginning, I vaguely remember it had to do with some target on MAME, but I may be wrong. In an...
by stefano
Fri May 06, 2022 9:01 pm
Forum: Sinclair ZX
Topic: zsdcc register usage
Replies: 8
Views: 352

Re: zsdcc register usage

you have several options to optimise like only real men do, assembler is only one of them =D Have a look at the opt files here and how they can be applied to clisp.c (instructions are inside it): https://github.com/z88dk/z88dk/tree/master/examples/clisp Also, do not underestimate the callee trick, s...
by stefano
Fri May 06, 2022 8:02 am
Forum: Sinclair ZX
Topic: Color graphics?
Replies: 7
Views: 2752

Re: Color graphics?

A generic "putsprite" could easily solve it, but I'd like to keep a faster monochrome version. I know it is less than ideal, but tiny portable games could run fast enough with tuned functions. e.g. On "microman.c" I used putsprite in "and" mode to clear the pictures bec...
by stefano
Thu May 05, 2022 8:27 pm
Forum: CP/M, FLOS and OS related
Topic: Carousel CP/m Tools
Replies: 2
Views: 1559

Re: Carousel CP/m Tools

Surprisingly there were many versions of ratfor, support tools, and libraries for the cp/m.
There was even a retrofit kit to support the translation from the ratfor functions to BDS C.
I've added a document file (fall 1981!) and a simple filter program.
by stefano
Tue Apr 19, 2022 10:33 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: [+SC3000] Keyboard debounce and polling issues in MAME
Replies: 8
Views: 693

Re: [+SC3000] Keyboard debounce and polling issues in MAME

BlueMSX includes the emulation of the sc3000. Could it be an alternative to mame?
by stefano
Fri Apr 15, 2022 9:37 am
Forum: Sinclair ZX
Topic: Trying to get speed from the monochrome sprites
Replies: 5
Views: 570

Re: Trying to get speed from the monochrome sprites

The whole development took me very few hours in less than 2 weeks, in small spare time slots. The pictures from the startap menu are cliparts from NewsMaster, captured with the sprite editor. The title screen was converted with the wonderful BMP2SCR. Another interesting source for graphics is the ve...
by stefano
Fri Apr 15, 2022 7:50 am
Forum: Sinclair ZX
Topic: Trying to get speed from the monochrome sprites
Replies: 5
Views: 570

Re: Trying to get speed from the monochrome sprites

I know, but being one of the authors of the portable graphics engine I wanted to squeeze and test it. The sprites I'm using are a 24 pixels wide, designed with the sprite editor. The collision detection is a mixed technique of position checks and multipoint() calls. It is obviously possible to get s...
by stefano
Thu Apr 14, 2022 2:41 pm
Forum: Sinclair ZX
Topic: Trying to get speed from the monochrome sprites
Replies: 5
Views: 570

Trying to get speed from the monochrome sprites

I tried to use medium sized monochrome sprites in a game. The performances weren't good, but I could reach a reasonable speed by substituting the putsprite's "spr_and" option with clga(). clga(), aka cleararea(), can be faster but on many target it is provided by a *very slow* generic impl...
by stefano
Sun Apr 03, 2022 3:05 pm
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: PSG sounds for SMS and GameGear
Replies: 9
Views: 1036

Re: PSG sounds for SMS and GameGear

this latter case is understandable, in your asm inclusion you are outputting to port 127 (= $7F).
Probably changing the OUT instructions to port 64 it would switch to $40
by stefano
Fri Apr 01, 2022 8:27 am
Forum: Sinclair ZX
Topic: ZX redefine keys in C?
Replies: 3
Views: 607

Re: ZX redefine keys in C?

Look at microman.c, -DJOYSTICK_DIALOG compile option.
A keyboard only game configuration screen is, in my opinion, part of the game personalization and gamer experience.
You are probably not willing to recycle someone else's look and feel for the final version of your games.
by stefano
Thu Mar 31, 2022 7:34 am
Forum: Other targets
Topic: Galaksija
Replies: 34
Views: 4838

Re: Galaksija

you probably need to copy (or move) the resulting lib file from z88dk/libsrc to z88/lib/clibs
To update it, the previous build must be removed from z88dk/libsrc
by stefano
Wed Mar 30, 2022 4:33 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: othello.c on the Sharp MZ not working anymore
Replies: 0
Views: 311

othello.c on the Sharp MZ not working anymore

I recently tried to compile and run othello on the Sharp MZ targets but it hangs as soon as main() fires the first printf(). I tried to investigate the problem a little bit but no luck yet, and I'm replacing my laptop and I'll have to stop for a while. I tried to verify that IX is kept consistent in...
by stefano
Wed Mar 30, 2022 4:28 pm
Forum: Other targets
Topic: Galaksija
Replies: 34
Views: 4838

Re: Galaksija

Thank you.. both !
@RobertK, it's great to see you getting confidence, we can't leave the whole work on Dominic for much longer :D
by stefano
Sat Mar 26, 2022 7:32 pm
Forum: Japanese (Sharp, NEC, Casio, Epson..)
Topic: Sharp MZ 800 & 1500
Replies: 0
Views: 271

Sharp MZ 800 & 1500

I just extended the Wiki page by adding a section describing a way to load and run z88dk programs in "MZ800 mode". In short, the BASIC interpreter includes a MONITOR which emulates the text mode and provides compatible console functions while running in graphics mode. I should be rather si...