[Simh] Compiling AltairZ80 gives an executable with an issue...

Mark Pizzolato Mark at infocomm.com
Wed Jun 14 22:08:31 EDT 2017


The most recent simulator binaries are available for Windows from:

https://github.com/simh/Win32-Development-Binaries

Give the AltairZ80 binary from there a try.

From: Simh [mailto:simh-bounces at trailing-edge.com] On Behalf Of Alan Kamrowski II
Sent: Wednesday, June 14, 2017 7:01 PM
To: simh at trailing-edge.com
Subject: [Simh] Compiling AltairZ80 gives an executable with an issue...

Hi Everyone,

I've tried compiling the simhv39-0.zip with my Borland compiler and it compiles without errors, but using a configuration:

set cpu 8080
attach dsk0 cpm.dsk
attach dsk1 new.dsk
load dbl.bin ff00
go ff00

And a bootable CP/M image, I have a weird issue.  It will boot CP/M properly, but if you do a directory you get:

Altair 8800 (Z80) simulator V3.9-0
256 bytes [1 page] loaded at ff00.


63K CP/M
Version 2.2mits (07/28/80)
Copyright 1980 by Burcon Inc.

A>dir
Bdos Err On A: Bad Sector

There is one way to get it to work, and that is to logon to drive B:, then use Ctrl-C, then A:, then DIR.  It will work once.

Altair 8800 (Z80) simulator V3.9-0
256 bytes [1 page] loaded at ff00.


63K CP/M
Version 2.2mits (07/28/80)
Copyright 1980 by Burcon Inc.

A>b:
B>^C
B>a:
A>dir
A: L80      COM : W        COM : ED       COM : ASM      COM
A: DUMP     COM : ENIGMAX  COM : ASM      SUB : LS       COM
A: DO       COM : LOAD     COM : ENIGMA   COM : M80      COM
A: MAC      COM : PIP      COM : STAT     COM : DDT      COM
A: R        COM : NSWP     COM
A>dir
Bdos Err On A: Bad Sector

If I try this with the altairz80.exe from the EXE zip, it works fine.

I downloaded MINGW and used it to compile the 3.9.0.  It would not compile until I added "-lws2_32 -lwinmm" to the linker flags.  Then it has the SAME PROBLEM as the above!

I tried a 3.4.0 version of source, same problem!

So, two compilers, multiple versions, same problem.  Any thougths or ideas?

Thanks,

Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20170614/248e96c1/attachment.html>


More information about the Simh mailing list