Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8Bit references to extrn defined variable does not work in ZSM4 version 4.7 #4

Open
agl7 opened this issue Apr 3, 2022 · 0 comments

Comments

@agl7
Copy link

agl7 commented Apr 3, 2022

Hello Hector Peraza,

while M80.COM handles 8bit references correctly (see attachment testm80.prn), ZSM4 generates the error "R" (see testzsm4.prn). The listing test2.prn shows the second file in which the variable "ValNum" is defined, which is referenced by TESTM80.MAC and TESTZSM4.MAC. When I link TESTM80.REL and TEST2.REL to TESTX.COM/TESTX.SYM with L80.COM, ZSID.TXT shows the correct use of "ValNum" (value 10H).

It seems that ZSM4 version 4.7 does not correctly handle the use of 8Bit (LOW) from the Extrn defined 16Bit variable "ValNum", which however the M80.COM/L80.COM and also the SLR180.COM/SLRNK.COM can do correctly.

Otherwise, I would like to thank you for your valuable work on ZSM4, it is a great contribution to the open source community. I use ZSM4 under my Z80 emulator "YAZE-AG" (Yet Another Z80 Emulator by AG, www.yaze-ag.de and also here on guthub.com) and on my real Z280 machine "CPU280" by
test2.txt
testm80.txt
testzsm4.txt
zsid.txt
Tilmann Reh (Germany).

Best regards
Andreas Gerlich (agl7, IRCNet: agl, Libera.Chat: agl)
(University of Ulm, Germany)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant