开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Micro BASIC Manual


 

Hi Kerem,

Hmm, I wonder what happened to the website?

Here's the MBasic Manual I downloaded.

Cheers,
Josh Bensadon



On Saturday, March 15, 2025 at 06:29:19 p.m. EDT, Kerem Kapkin via groups.io <kkapkin@...> wrote:


Hello,
I am new to the Z80MC, just completed building one and learning about the operation. However none of the links to Dave Dunfield's Micro BASIC Manual is working. If you have a new link or if you can share the pdf file of the manual I would appreciate it.
Best Regards,
Kerem


 

Hello Josh,

Thank you very much. That’s what I was looking for. Excellent.

Regards,
Kerem

On Sun, Mar 16, 2025 at 10:24?AM joshbensadon via <joshbensadon=[email protected]> wrote:
Hi Kerem,

Hmm, I wonder what happened to the website?

Here's the MBasic Manual I downloaded.

Cheers,
Josh Bensadon



On Saturday, March 15, 2025 at 06:29:19 p.m. EDT, Kerem Kapkin via <kkapkin=[email protected]> wrote:


Hello,
I am new to the Z80MC, just completed building one and learning about the operation. However none of the links to Dave Dunfield's Micro BASIC Manual is working. If you have a new link or if you can share the pdf file of the manual I would appreciate it.
Best Regards,
Kerem


 

Kerem,

I should tell you, I added 2 instructions to Micro Basic.? OUT and INP.? OUT pp,vv? works to output byte vv to port pp. And INP(pp) is a function that returns they byte at input port pp.

The assembler code for Micro Basic is available and was very easy to modify to add these instructions.? Dave Dunfield is a very well organized coder.

Cheers,
Josh


On Sunday, March 16, 2025 at 02:10:51 p.m. EDT, Kerem Kapkin via groups.io <kkapkin@...> wrote:


Hello Josh,

Thank you very much. That’s what I was looking for. Excellent.

Regards,
Kerem

On Sun, Mar 16, 2025 at 10:24?AM joshbensadon via <joshbensadon=[email protected]> wrote:
Hi Kerem,

Hmm, I wonder what happened to the website?

Here's the MBasic Manual I downloaded.

Cheers,
Josh Bensadon



On Saturday, March 15, 2025 at 06:29:19 p.m. EDT, Kerem Kapkin via <kkapkin=[email protected]> wrote:


Hello,
I am new to the Z80MC, just completed building one and learning about the operation. However none of the links to Dave Dunfield's Micro BASIC Manual is working. If you have a new link or if you can share the pdf file of the manual I would appreciate it.
Best Regards,
Kerem


 

Hi Josh,
Unfortunately my Z80MC Front Panel had an issue with an IC, so currently it is waiting for a part. In the meantime I am somewhat familiar with Micro Professor MPF-1 Tiny Basic. The system has a coder ROM. Sounds like for Z80MC, I need a separate coder to convert instructions before inputting. Some reason all the links to Dave’s material giving me an unavailable URL error as if the pages have been deleted.
If you can point me to Dave’s Micro Basic coder, I would?appreciate it.
Regards,
Kerem


On Sun, Mar 16, 2025 at 6:31?PM joshbensadon via <joshbensadon=[email protected]> wrote:
Kerem,

I should tell you, I added 2 instructions to Micro Basic.? OUT and INP.? OUT pp,vv? works to output byte vv to port pp. And INP(pp) is a function that returns they byte at input port pp.

The assembler code for Micro Basic is available and was very easy to modify to add these instructions.? Dave Dunfield is a very well organized coder.

Cheers,
Josh


On Sunday, March 16, 2025 at 02:10:51 p.m. EDT, Kerem Kapkin via <kkapkin=[email protected]> wrote:


Hello Josh,

Thank you very much. That’s what I was looking for. Excellent.

Regards,
Kerem
On Sun, Mar 16, 2025 at 10:24?AM joshbensadon via <joshbensadon=[email protected]> wrote:
Hi Kerem,

Hmm, I wonder what happened to the website?

Here's the MBasic Manual I downloaded.

Cheers,
Josh Bensadon



On Saturday, March 15, 2025 at 06:29:19 p.m. EDT, Kerem Kapkin via <kkapkin=[email protected]> wrote:


Hello,
I am new to the Z80MC, just completed building one and learning about the operation. However none of the links to Dave Dunfield's Micro BASIC Manual is working. If you have a new link or if you can share the pdf file of the manual I would appreciate it.
Best Regards,
Kerem


 

Here's his unmodified assembler code for Micro Basic.? You should read his comments, he's very funny.

Also, here's the modified code with the extra INP and OUT commands added.



On Sunday, March 16, 2025 at 09:45:28 p.m. EDT, Kerem Kapkin via groups.io <kkapkin@...> wrote:


Hi Josh,
Unfortunately my Z80MC Front Panel had an issue with an IC, so currently it is waiting for a part. In the meantime I am somewhat familiar with Micro Professor MPF-1 Tiny Basic. The system has a coder ROM. Sounds like for Z80MC, I need a separate coder to convert instructions before inputting. Some reason all the links to Dave’s material giving me an unavailable URL error as if the pages have been deleted.
If you can point me to Dave’s Micro Basic coder, I would?appreciate it.
Regards,
Kerem


On Sun, Mar 16, 2025 at 6:31?PM joshbensadon via <joshbensadon=[email protected]> wrote:
Kerem,

I should tell you, I added 2 instructions to Micro Basic.? OUT and INP.? OUT pp,vv? works to output byte vv to port pp. And INP(pp) is a function that returns they byte at input port pp.

The assembler code for Micro Basic is available and was very easy to modify to add these instructions.? Dave Dunfield is a very well organized coder.

Cheers,
Josh


On Sunday, March 16, 2025 at 02:10:51 p.m. EDT, Kerem Kapkin via <kkapkin=[email protected]> wrote:


Hello Josh,

Thank you very much. That’s what I was looking for. Excellent.

Regards,
Kerem
On Sun, Mar 16, 2025 at 10:24?AM joshbensadon via <joshbensadon=[email protected]> wrote:
Hi Kerem,

Hmm, I wonder what happened to the website?

Here's the MBasic Manual I downloaded.

Cheers,
Josh Bensadon



On Saturday, March 15, 2025 at 06:29:19 p.m. EDT, Kerem Kapkin via <kkapkin=[email protected]> wrote:


Hello,
I am new to the Z80MC, just completed building one and learning about the operation. However none of the links to Dave Dunfield's Micro BASIC Manual is working. If you have a new link or if you can share the pdf file of the manual I would appreciate it.
Best Regards,
Kerem


 
Edited

Original Dunfield's Micro-BASIC program used a monitor also from
David Dunfield.? His site is still up but the URL is different.
Note that there are two versions of that basic one in .ASM (8080/z80)
and another in Dunfield's Micro-C (close to K&R C).? I have original
sources for both.
?
Regarding "other" BASICs that can run on Z80 based systems there are many.
The MSBASIC(microsoft) is well known, Also NABU basic , and at least three
Tiny basics and LLL (larwence livermore labs) BASIC... I"d also add Z8TBASIC?
as well.? All of those are public domain now or free for non commercial use.?
All of them can be ported to?the Z80 MC.
?
Due to the fact that Z80 can run code from prior 8080 and 8085 makes for?
large amount of program sources.? Most the port will be trivial only allowing
for what IO may be needed.
?
Other items of interest for 8080/8085/z80 system would be:
-ALPS Dunfield's Assembly Language Programming System? An editor, assembler, debugger.
? I have added this and micro-bsic to the files area.
?
-Softpack-1 Part of a large collection of software including resident editor and assembler
and other tools from?Processor Technology for the SOL system.? This also includes a BASIC.
?
Allison


 

Thank you Allison for the detailed and enlightening information, appreciated.

I ran into some problems assembling my Z80MC. Everything was assembled, including the z80 SIO, verified several times and finally powered up. Everything seemed to be working fine except no response from button 8. To make long story short, while troubleshooting the problem (into third straight day) managed to feed 9V Vcc into Vin causing even more problems while button 8 issue remained unresolved.?

At the moment, I am trying to get another kit set to get back into exploring the Z80 MC with Micro Basic. Unfortunate and expensive set back…. At least I will have more time to read.

Cheers,
Kerem

On Wed, Mar 19, 2025 at 9:25?AM ajparent1/kb1gmx via <kb1gmx=[email protected]> wrote:

[Edited Message Follows]

Original Dunfield's Micro-BASIC program used a monitor also from
David Dunfield.? His site is still up but the URL is different.
Note that there are two versions of that basic one in .ASM (8080/z80)
and another in Dunfield's Micro-C (close to K&R C).? I have original
sources for both.
?
Regarding "other" BASICs that can run on Z80 based systems there are many.
The MSBASIC(microsoft) is well known, Also NABU basic , and at least three
Tiny basics and LLL (larwence livermore labs) BASIC... I"d also add Z8TBASIC?
as well.? All of those are public domain now or free for non commercial use.?
All of them can be ported to?the Z80 MC.
?
Due to the fact that Z80 can run code from prior 8080 and 8085 makes for?
large amount of program sources.? Most the port will be trivial only allowing
for what IO may be needed.
?
Other items of interest for 8080/8085/z80 system would be:
-ALPS Dunfield's Assembly Language Programming System? An editor, assembler, debugger.
? I have added this and micro-bsic to the files area.
?
-Softpack-1 Part of a large collection of software including resident editor and assembler
and other tools from?Processor Technology for the SOL system.? This also includes a BASIC.
?
Allison


 

It's funny you mention a problem with the #8 button. I have a similar problem with mine. Instead of getting 8, I get 9.
Spent a bunch of hours troubleshooting. Never figured it out.
Sometimes it will produce an 8.
If I do E 2888, I get 2899.
If I do E 7888, I get 7899.
And so on.
Maybe we should start a new thread...

Mitch


 

What a strange problem.? Not happening on my system.? I tried 2888 and 7888 10 times and got the right number every time.


On Sunday, March 23, 2025 at 09:11:04 p.m. EDT, Mitch Smith via groups.io <kb3gkc@...> wrote:


It's funny you mention a problem with the #8 button. I have a similar problem with mine. Instead of getting 8, I get 9.
Spent a bunch of hours troubleshooting. Never figured it out.
Sometimes it will produce an 8.
If I do E 2888, I get 2899.
If I do E 7888, I get 7899.
And so on.
Maybe we should start a new thread...

Mitch







 

Strange, I do not see that issue either.
?
I'd suspect a button installed wrong or a row colum short.
?
Allison


 

Mitch,

Can you please tell me if you are using all 3 boards? or just the Front panel with the Z80?
Also, how are you powering your Z80mc???

FYI, I'm using all 3 boards and powered from a 5V, 5A bench supply.

Josh


On Sunday, March 23, 2025 at 09:11:04 p.m. EDT, Mitch Smith via groups.io <kb3gkc@...> wrote:


It's funny you mention a problem with the #8 button. I have a similar problem with mine. Instead of getting 8, I get 9.
Spent a bunch of hours troubleshooting. Never figured it out.
Sometimes it will produce an 8.
If I do E 2888, I get 2899.
If I do E 7888, I get 7899.
And so on.
Maybe we should start a new thread...

Mitch







 

You're the second person to mention problems with the "8" key. I haven't seen it myself, and from the schematic, can't imagine what could be wrong that only affects the "8" and not the other keys in the same row.

The only thing that's changed recently is that the 15Kx4 SIP was changed to 18Kx4 (because the 15K was out of stock). It works the same on my Z80MC, but maybe some 74LS145's have excessive off-state leakage that 18k won't pull up? An easy test would be to try adding a resistor in parallel with the 18K (like 22K) to see if that helps?

Lee
--
Excellence does not require perfection. -- Henry James
But it *does* require attention to detail! -- Lee Hart
--
Lee A. Hart

-----Original Message-----
From: <[email protected]>
Sent: Mar 23, 2025 8:11 PM
To: <[email protected]>
Subject: Re: [Z80MC] Micro BASIC Manual

It's funny you mention a problem with the #8 button. I have a similar problem with mine. Instead of getting 8, I get 9.
Spent a bunch of hours troubleshooting. Never figured it out.
Sometimes it will produce an 8.
If I do E 2888, I get 2899.
If I do E 7888, I get 7899.
And so on.
Maybe we should start a new thread...

Mitch


 

Hi Lee,?
I will try your suggestion. I have the front panel on my breadboard now with your suggestions for testing. Have a safe trip, when you are back we can reconnect for troubleshooting.
Thanks,
Kerem

On Fri, Mar 28, 2025 at 9:46?AM Lee Hart via <leeahart=[email protected]> wrote:
You're the second person to mention problems with the "8" key. I haven't seen it myself, and from the schematic, can't imagine what could be wrong that only affects the "8" and not the other keys in the same row.

The only thing that's changed recently is that the 15Kx4 SIP was changed to 18Kx4 (because the 15K was out of stock). It works the same on my Z80MC, but maybe some 74LS145's have excessive off-state leakage that 18k won't pull up? An easy test would be to try adding a resistor in parallel with the 18K (like 22K) to see if that helps?

Lee
--
Excellence does not require perfection. -- Henry James
But it *does* require attention to detail! -- Lee Hart
--
Lee A. Hart
-----Original Message-----
From: <[email protected]>
Sent: Mar 23, 2025 8:11 PM
To: <[email protected]>
Subject: Re: [Z80MC] Micro BASIC Manual

It's funny you mention a problem with the #8 button. I have a similar problem with mine. Instead of getting 8, I get 9.
Spent a bunch of hours troubleshooting. Never figured it out.
Sometimes it will produce an 8.
If I do E 2888, I get 2899.
If I do E 7888, I get 7899.
And so on.
Maybe we should start a new thread...

Mitch














 

I also have an issue with the 8 not working, but i chalked it up to me messing up the build. I will try to see if I can find time to test out your theory this weekend.

-=-
Brett

Sent from Proton Mail Android

-------- Original Message --------
On 3/28/25 12:46 PM, Lee Hart via groups.io - leeahart=earthlink.net at groups.io <leeahart_earthlink_net_at_groups_io_wswmxnaql@...> wrote:

You're the second person to mention problems with the "8" key. I haven't seen it myself, and from the schematic, can't imagine what could be wrong that only affects the "8" and not the other keys in the same row.

The only thing that's changed recently is that the 15Kx4 SIP was changed to 18Kx4 (because the 15K was out of stock). It works the same on my Z80MC, but maybe some 74LS145's have excessive off-state leakage that 18k won't pull up? An easy test would be to try adding a resistor in parallel with the 18K (like 22K) to see if that helps?

Lee
--
Excellence does not require perfection. -- Henry James
But it *does* require attention to detail! -- Lee Hart
--
Lee A. Hart
-----Original Message-----
From: <[email protected]>
Sent: Mar 23, 2025 8:11 PM
To: <[email protected]>
Subject: Re: [Z80MC] Micro BASIC Manual

It's funny you mention a problem with the #8 button. I have a similar problem with mine. Instead of getting 8, I get 9.
Spent a bunch of hours troubleshooting. Never figured it out.
Sometimes it will produce an 8.
If I do E 2888, I get 2899.
If I do E 7888, I get 7899.
And so on.
Maybe we should start a new thread...

Mitch















 

I started a new thread for this issue.
I thought that there was a pattern to the failure I'm experiencing but now I'm not so sure.
One thing I did notice, when the chips are cold, it seems to work.
Once it warms up, the problems occur again.

Mitch