Replies: 7 comments 9 replies
-
|
In the emu6800 environment (-me6800), support for stdin, stdout, and stderr has been added. |
Beta Was this translation helpful? Give feedback.
-
|
Looks good so far! Is emu6800 small enough to be able to embed into the ACK source code? That way, it can be used to run the compiler tests. What's the code quality like? I don't know a great deal about cg. |
Beta Was this translation helpful? Give feedback.
-
|
emu6800 source is at https://github.com/EtchedPixels/Fuzix-Compiler-Kit/tree/main/test. Sizes: Performance matches typical MC6800 stack machine speed, which is decent for a first try. cg/table pattern tweaks may improve speed by 10-20%. I'll check if cg can support the latter. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I was just reminded of this thread --- someone else asked me about a 6801 code generator... is your code in good enough state to merge? It'd be really nice to have, even with just cg. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hello, thanks for the references. This upcoming semester I'm teaching a computer devices lab course and I'm considering the 6801. I'll follow up and do some more digging.
Krista
…________________________________
From: zu2 ***@***.***>
Sent: Friday, December 5, 2025 12:30 AM
To: davidgiven/ack ***@***.***>
Cc: Hill, Krista ***@***.***>; Mention ***@***.***>
Subject: [External-email]: Re: [davidgiven/ack] Trying Out ACK on MC6800 with emu6800 (Discussion #331)
**Caution: This email was sent from outside the university. Please exercise caution when clicking links, opening attachments, or replying. When in doubt, contact the helpdesk.**
Hi, @KristaMHill<https://github.com/KristaMHill>
If you're working with MC6801 or MC6803, the following compilers may be of interest:
* Fuzix-Compiler-Kit<https://github.com/EtchedPixels/Fuzix-Compiler-Kit>: features a working MC6803 compiler and emulator. It should also run on MC6801 without major issues.
* chibicc-6800-v1<https://github.com/zu2/chibicc-6800-v1>: an MC6800-targeted compiler supporting floating-point operations.
Hope this information is helpful for your project.
—
Reply to this email directly, view it on GitHub<#331 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYSHRUVFHQJX34D64FTJVD4AEKAHAVCNFSM6AAAAACBOQSZNSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMJWHAZTINA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Please help me, what's a PR?
…________________________________
From: David Given ***@***.***>
Sent: Thursday, December 11, 2025 6:18 AM
To: davidgiven/ack ***@***.***>
Cc: Hill, Krista ***@***.***>; Mention ***@***.***>
Subject: [External-email]: Re: [davidgiven/ack] Trying Out ACK on MC6800 with emu6800 (Discussion #331)
**Caution: This email was sent from outside the university. Please exercise caution when clicking links, opening attachments, or replying. When in doubt, contact the helpdesk.**
Could you send me a PR, please? That will allow me to try it and make modifications while keeping your commits in the log.
—
Reply to this email directly, view it on GitHub<#331 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYSHRTQ6ZT3LULMBFYJSN34BFHJVAVCNFSM6AAAAACBOQSZNSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRTGAYTGOI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for clarifying that, not a problem 👌
Krista
…________________________________
From: David Given ***@***.***>
Sent: Thursday, December 11, 2025 10:38 AM
To: davidgiven/ack ***@***.***>
Cc: Hill, Krista ***@***.***>; Mention ***@***.***>
Subject: [External-email]: Re: [davidgiven/ack] Trying Out ACK on MC6800 with emu6800 (Discussion #331)
**Caution: This email was sent from outside the university. Please exercise caution when clicking links, opening attachments, or replying. When in doubt, contact the helpdesk.**
Sorry, that was aimed at @zu2<https://github.com/zu2>. It's a mechanism for allowing me to merge their changes into my repository via github. I want to see if I have any luck getting their 6800 backend upstreamed.
—
Reply to this email directly, view it on GitHub<#331 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAYSHRUBAIZ47LEJBEEXVSD4BGFX7AVCNFSM6AAAAACBOQSZNSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRTGIZTQMA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm porting ACK to the 8-bit MC6800 CPU for use with the emu6800 emulator. I'm using the cg code generator, but I'm having trouble adding the library, so runnable code isn't working yet. My current work is here: https://github.com/zu2/ack-6800
Any advice would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions