Search found 8 matches

by hjalfi
Sun Apr 09, 2023 4:35 pm
Forum: Programming
Topic: What's the correct protocol for testing STATUS?
Replies: 2
Views: 1572

Re: What's the correct protocol for testing STATUS?

If that's true, then there's a flaw in x16-emulator; the virtual filesystem code only updates STATUS on error conditions. I'll need to file a bug...
by hjalfi
Sat Apr 08, 2023 4:45 pm
Forum: Programming
Topic: What's the correct protocol for testing STATUS?
Replies: 2
Views: 1572

What's the correct protocol for testing STATUS?

So, I've got this port of CP/M to the 6502. Previously I had it working on the X16. I recently tried it and found that it hangs on startup. Seems the problem is this code, which reads a file from disk. (My structured programming macros should be obvious.) ldy #0 zrepeat sty STATUS jsr ACPTR ; read a...
by hjalfi
Tue Oct 18, 2022 9:34 pm
Forum:
Topic: CP/M-65 on the X16
Replies: 18
Views: 5046

CP/M-65 on the X16

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="22909" data-ipsquote-contentid="4788" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1666122798" data-ipsquote-userid="73" data-ipsqu...
by hjalfi
Mon Oct 17, 2022 8:18 pm
Forum:
Topic: CP/M-65 on the X16
Replies: 18
Views: 5046

CP/M-65 on the X16

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="22875" data-ipsquote-contentid="4788" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1666031999" data-ipsquote-userid="175" data-ipsq...
by hjalfi
Mon Oct 17, 2022 12:39 pm
Forum:
Topic: CP/M-65 on the X16
Replies: 18
Views: 5046

CP/M-65 on the X16

My one puts the BDOS and CCP in high RAM, leaving the entire low RAM area for the TPA. I wish the I/O area didn't split up the RAM but, well, tradition, I suppose! My original development platform was the BBC Micro; but it puts the I/O up high at 0xfc00. On the Master, which has banked RAM, it's th...
by hjalfi
Sat Oct 15, 2022 10:22 am
Forum:
Topic: CP/M-65 on the X16
Replies: 18
Views: 5046

CP/M-65 on the X16

I recently did a port of CP/M to the 6502, and have just made it work on the X16, more or less. See <a href="https://github.com/davidgiven/cpm65" rel="external nofollow">https://github.com/davidgiven/cpm65</a>. There's currently no actual 6502 CP/M <em>software</em>, so it's of questionable utility...
by hjalfi
Thu Mar 11, 2021 5:02 pm
Forum:
Topic: Fuzix (Unix like OS) for X16
Replies: 13
Views: 4901

Fuzix (Unix like OS) for X16

Actually, I realise now that I was mixing up the X16 and the Mega65! The X16 is much less like a C64. Unfortunately, I don't think the X16 can effectively run Fuzix. AFAICT there's only a single 8kB memory window at 0xa000. As on these systems Fuzix has to use memory mapping for task switching, tha...
by hjalfi
Thu Mar 11, 2021 2:24 pm
Forum:
Topic: Fuzix (Unix like OS) for X16
Replies: 13
Views: 4901

Fuzix (Unix like OS) for X16

There are some 6502 Fuzix ports, of varying degrees of workingness. The main issue is that everything's written in C, and the 6502 is a very difficult architecture to compile C for, with really bloaty code. Hardware-wise, Fuzix wants to be able to bank-switch memory starting at 0x0000 with a fixed ...