TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Converting GW-BASIC to the Z80

32 pointsby acidxalmost 5 years ago

3 comments

acqqalmost 5 years ago
It seems potentially a &quot;call for help&quot;:<p>&quot;I appreciate help if this is the kind of rabbit hole you&#x27;d like to burrow in.&quot;<p>The current status is of the conversion:<p>&quot;a lot of instructions being generated are invalid and the code generator has to be reviewed.&quot;<p>If it is, and the author is reading this, I suggest documenting exactly one by one the open issues. There are surely readers here that are able to &quot;see&quot; and propose a fix for some details without investing a lot of energy upfront to first figure out what the issues are.
tyingqalmost 5 years ago
Looks like others have tried an x86 to z80 asm converter before. Maybe some ideas there:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Zany80&#x2F;x86-to-z80" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Zany80&#x2F;x86-to-z80</a>
ncmncmalmost 5 years ago
BASIC on the Apple ][ did a linear search from the start of the program for each GOTO and GOSUB. I wonder if GW still does that...
评论 #23612536 未加载