Search found 1940 matches

by stefano
Sat Apr 01, 2023 10:45 am
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

Update: the console ESC commands are simpler, the CR/LF is pointless, I haven't fully understood why the Sanyo Basic mixes them with the reset sequence, probably it's a side effect of a generic "console reset" command.
by stefano
Fri Mar 31, 2023 3:07 pm
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

Thus, including cpm.h and shortcutting to BIOS, we can try to draw a line from (5,5) to (50,50): bios(BIOS_CONOUT,0x1b,0); bios(BIOS_CONOUT,0x54,0); bios(BIOS_CONOUT,0x1b,0); bios(BIOS_CONOUT,0x50,0); bios(BIOS_CONOUT,0x30,0); bios(BIOS_CONOUT,0,0); bios(BIOS_CONOUT,5,0); bios(BIOS_CONOUT,0,0); bios...
by stefano
Fri Mar 31, 2023 1:48 pm
Forum: Amstrad
Topic: Unexpected and different results between compiler versions...
Replies: 24
Views: 28498

Re: Unexpected and different results between compiler versions...

In my opinion an open source project has good chances to survive to its original programmer, if someone works on it, it means it is still useful (and somehow "supported"). :D
by stefano
Fri Mar 31, 2023 1:43 pm
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

One more interesting hint: the only graphics models are the ones in the MBC-200/MBC-1200 family. They were delivered with a special, extended BASIC (SBASIC-3) which included graphics instructions (but TIME was missing, it was available on the MBC-2000 and MBC-3000 models only). The Sanyo BASIC was n...
by stefano
Thu Mar 30, 2023 5:04 pm
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

The MBC-3000 is not an emulated target, but I could extract the files with cpmtools. It was a 77 tracks 8" disk format with a peculiarity described in the cpmtools/libdsk tutorials: a track 0:0 with halved density. I'm telling just to suggest whoever is interested in such topics a new option fo...
by stefano
Thu Mar 30, 2023 4:56 pm
Forum: Amstrad
Topic: Unexpected and different results between compiler versions...
Replies: 24
Views: 28498

Re: Unexpected and different results between compiler versions...

The second option is intriguing but challenging.
It requires to extend the build options at the earlier stage, e.g. by substituting code blocks in the crt0 startup code.
by stefano
Wed Mar 29, 2023 8:14 pm
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

I finally made it !
The skew implementation was sufficient (but I'm using my current test configuration to clean it up a little) .
I was missing a sector count offset, a different speed rate, and the fact that MAME fails in reading drive B !
by stefano
Tue Mar 28, 2023 8:49 am
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

Good, I'm currently refining the way cpm_write_file() feeds the directory extents, under some circumstance it fools cpmtools (and probably some of the existing CP/M implementations) making it transfer bigger files than real. The bigger problem happens when an extra empty directory entry is created, ...
by stefano
Mon Mar 27, 2023 7:21 am
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Re: Sanyo MBC-XXXX CP/M models

> The skew handling in appmake is fairly "funky" - is that the problem or is it something else? I suppose so, I'll try to focus on it, then. My best guess for a valid appmake configuration is: static disc_spec mbc1200_spec = { .name = "MBC-1200", .sectors_per_track = 16, .tracks ...
by stefano
Sun Mar 26, 2023 2:15 pm
Forum: CP/M, FLOS and OS related
Topic: Sanyo MBC-XXXX CP/M models
Replies: 9
Views: 79

Sanyo MBC-XXXX CP/M models

Sanyo had its own CP/M computers series, for what I could find digging around, 4 different disk formats were used: Sanyo MBC-1000/1100/1150 - DSDD 48 tpi 5.25" the interface card for the EFD860F allowed 2 additional 8" external drives Sanyo MBC-1200/1250 - DSDD 96 tpi 5.25", 80 tracks...
by stefano
Sat Mar 25, 2023 9:12 pm
Forum: Other targets
Topic: Problem adding new target
Replies: 7
Views: 109

Re: Problem adding new target

Same of the VG5000, right?
by stefano
Fri Mar 24, 2023 3:12 pm
Forum: Other targets
Topic: Problem adding new target
Replies: 7
Views: 109

Re: Problem adding new target

I think that appmake is the last component to deal with. If you got so far, then you're at a good stage! Look at (z88dk)/lib/config/, you surely set up 'myrdk.cfg', it is invoking z88dk-appmake by specifying "-Cz myrdk", or similar. Suppose your target system loader is happy with a Motorol...
by stefano
Fri Mar 24, 2023 1:46 pm
Forum: Misc
Topic: Documentation on adding new software to Z88DK
Replies: 9
Views: 131

Re: Documentation on adding new software to Z88DK

>This is a good point: are we on a path to actually deprecate Newlib? The reason for having the two libraries is historical, Alvin introduced plenty of innovations to the libraries, such as the CALLEE trick, aiming to squeeze out as much speed and size reduction as possible, and he broadly succeeded...
by stefano
Thu Mar 23, 2023 7:33 am
Forum: MSX, SVI, TMS99x8 and Sega Master System
Topic: Library update: All TMS99x8 targets
Replies: 1
Views: 49

Re: Library update: All TMS99x8 targets

Great work, thank you Dom !
by stefano
Sun Mar 19, 2023 3:10 pm
Forum: Other platforms
Topic: MBASIC disassembly updated
Replies: 0
Views: 95

MBASIC disassembly updated

The MBASIC version 5.22 came in different flavours, including one for the MSX, some dated March 10th, some 19th. They were very similar but the code modules were linked in a different order. For what I could observe the file functionalities were left totally untouched, even the 'missing octal suffix...
by stefano
Thu Mar 16, 2023 8:50 am
Forum: Windows
Topic: Windows 10 installation problem
Replies: 5
Views: 163

Re: Windows 10 installation problem

Regarding the past features, I think I should remind that when I merged the cpcsrlib, I left a nice features behind.
It's related to code optimised on the chosen video mode.
I can dig the missing part out of you are interested.. but I wasn't able to find a nice way to do the job.
by stefano
Wed Mar 15, 2023 9:33 pm
Forum: Other targets
Topic: Problem to add Philips VG5000 target
Replies: 26
Views: 23104

Re: Problem to add Philips VG5000 target

Short update to tell that I refined the disassembly covering all the ROM and commenting most of it. It's at a very good level, I suggest those programmers understanding the z80 assembly code to have a look ;)
by stefano
Mon Mar 13, 2023 9:38 am
Forum: Other targets
Topic: Another NABU Project to Share: Cloud GUI
Replies: 2
Views: 71

Re: Another NABU Project to Share: Cloud GUI

Love the animated background during the file transfer operations !
by stefano
Sat Mar 11, 2023 2:48 pm
Forum: Windows
Topic: Windows 10 installation problem
Replies: 5
Views: 163

Re: Windows 10 installation problem

This quick workaround will probably work, try putting it in c:\z88dk and don't mind configuring env variables
by stefano
Fri Mar 10, 2023 10:32 am
Forum: Sinclair ZX
Topic: MSX CLOAD format
Replies: 2
Views: 265

Re: MSX CLOAD format

This project brought me to the Philips VG-5000 and a generic tape library for z88dk. Moreover I was able to merge the VG's PLAY command, adapted to run on the traditional internal speaker of any Spectrum. Due to the mentioned shortage of free token codes, I chose "OUT!" to replace "PL...
by stefano
Thu Mar 09, 2023 8:49 am
Forum: Other targets
Topic: VG5000 ROM console output
Replies: 7
Views: 141

Re: VG5000 ROM console output

I think I'll try myself.. feel free to blame me soon :D
by stefano
Wed Mar 08, 2023 2:24 pm
Forum: Misc
Topic: Alternate register set?
Replies: 6
Views: 109

Re: Alternate register set?

Sometimes we find target systems using the special registers in the interrupts, so the collisions with the libraries (mostly graphics and FP maths) are SORT OF managed by providing alternate libraries or workarounds (even z80asm can directly help a little bit!). By the way, if you have the possibili...
by stefano
Wed Mar 08, 2023 1:50 pm
Forum: Other targets
Topic: VG5000 ROM console output
Replies: 7
Views: 141

Re: VG5000 ROM console output

Generally, the entry point and BASIC system variables positions were strictly respected, thus also a jump in the scrolling or clearing code is acceptable (it is advisable to init IX everytime first, perhaps we can provide a simple ROM interposer). Thus, what I know so far is that this trick should b...
by stefano
Wed Mar 08, 2023 11:23 am
Forum: Other targets
Topic: VG5000 ROM console output
Replies: 7
Views: 141

Re: VG5000 ROM console output

Basing on my recent ROM analysins I'm now confident enough to propose a workaround: https://github.com/z88dk/z88dk/pull/2204 The problem was on the interrupt code, which we disabled to preserve IX, but necessary to provide the display refresh. My current workaround is very basic but works. I wonder ...
by stefano
Tue Mar 07, 2023 6:22 pm
Forum: Other targets
Topic: VG5000 ROM console output
Replies: 7
Views: 141

Re: How do I get z88dk to work on a completely new target system?

I see, what if I'm willig to add, say, the NATIVE console support to the VG5000 ?
Should it be changed to '0' ?