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

Errors when building for Zeta2 #28

Closed
MockbaTheBorg opened this issue Apr 19, 2019 · 9 comments

Comments

Projects
None yet
4 participants
@MockbaTheBorg
Copy link

commented Apr 19, 2019

Hi there,

I (believe I) have followed the readme file correctly, but when I do the BuildRom step, it dies here:

tasm -t80 -g3 -dROMBOOT hbios.asm hbios_rom.bin hbios_rom.lst
TASM Z80 Assembler. Version 3.2 September, 2001.
Copyright (C) 2001 Squak Valley Software
tasm: pass 1 complete.
HBIOS PROXY STACK space: 34 bytes.
HBIOS INT space remaining: 158 bytes.
hbios.asm line 0896: Label not found: (PIO_4P)
hbios.asm line 0896: Label not found: (PIO_ZP)
hbios.asm line 1251: Label not found: (PIO_4P)
hbios.asm line 1251: Label not found: (PIO_ZP)
DSRTC occupies 471 bytes.
UART occupies 667 bytes.
PPP occupies 1400 bytes.
MD occupies 496 bytes.
FD occupies 2246 bytes.
hbios.asm line 2445: Label not found: (PIO_4P)
hbios.asm line 2445: Label not found: (PIO_ZP)
hbios.asm line 2445: Label not found: (PPI_SBC)
pio.asm line 0508: Label not found: (PIO_ZP)
pio.asm line 0512: Label not found: (PIO_4P)
pio.asm line 0520: Label not found: (PPI_SBC)
pio.asm line 0543: Label not found: (PIO_ZP)
pio.asm line 0586: Label not found: (PIO_4P)
PIO occupies 734 bytes.
HBIOS space remaining: 20806 bytes.
tasm: pass 2 complete.
tasm: Number of errors = 12
TASM returned exit code 1
At C:\tmp_nosync\Zeta2\RomWBW\Source\HBIOS\Build.ps1:122 char:29

  • . . . ($LASTEXITCODE -gt 0) {throw "TASM returned exit code $LASTEXITCODE"}
  •                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (TASM returned exit code 1:String) [], RuntimeException
    • FullyQualifiedErrorId : TASM returned exit code 1

PS C:\tmp_nosync\Zeta2\RomWBW\Source>`

Not sure what to do to fix it.
I am building with the ZETA2_std configuration. All vanilla.

Thanks a lot!

@wwarthen

This comment has been minimized.

Copy link
Owner

commented Apr 19, 2019

@b1ackmai1er

This comment has been minimized.

Copy link
Contributor

commented Apr 19, 2019

Hi Please add

PIO_4P .EQU FALSE ; TRUE FOR ECB-4PIO PIO SUPPORT
PIO_ZP .EQU FALSE ; TRUE FOR ECB-ZILOG PERIPHERALS BOARD
PPI_SBC .EQU FALSE ; TRUE FOR SBC V1/V2 8255 PPI

to Source\HBIOS\cfg_zeta.asm

Sorry will do a build test on all platforms before submitting updates.

Regards Phillip

@MockbaTheBorg

This comment has been minimized.

Copy link
Author

commented Apr 19, 2019

Awesome guys! No need to be sorry ... things happen.
I will make the changes and give it a try soon.

@MockbaTheBorg

This comment has been minimized.

Copy link
Author

commented Apr 19, 2019

I was able to successfully build after adding the 3 lines to the end of cfg_zeta.asm.
Transferred the .ROM image to a diskette on my Zeta2.
Tried OSLDR /F ROMWMW.BOM and got back a message saying: Obsolete or Invalid BIOS image (BIOS signature)
I am afraid to burn it as it may brick the ZETA2, then I will have to take it apart and reprogram the bios chip, so I would like to know if you guys think it is safe, or if I should wait until you test locally.

Thanks a lot for the assistance.

@MockbaTheBorg

This comment has been minimized.

Copy link
Author

commented Apr 19, 2019

Took a deep breath, opened a beer, a bag of pretzels, went ahead and burned the image.
All works fine.
Thanks a lot guys ... this is awesome .... thank you.

@wrljet

This comment has been minimized.

Copy link

commented Apr 19, 2019

Kinda early on our side of the world for Biers. :-)

@MockbaTheBorg

This comment has been minimized.

Copy link
Author

commented Apr 19, 2019

Never early for a good bier ... :)

@wrljet

This comment has been minimized.

Copy link

commented Apr 19, 2019

True.

Thanks to all who continue to improve this project, BTW.
Bill

@wwarthen

This comment has been minimized.

Copy link
Owner

commented Apr 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.