Coder Social home page Coder Social logo

Comments (12)

wwarthen avatar wwarthen commented on June 12, 2024

Hi Jose,

Sounds like you have mastered the process of building a custom ROM. Excellent.

The problem you are encountering is that the Z180 ASCI serial ports have a limited set of baud rate divisors. When the CPU clock rate is set to 9.216 MHz (as you have done), there is no baud rate divisor in the Z180 that will result in 38,400 baud. RomWBW has a failsafe mechanism when it is unable to find a suitable divisor for the requested baud rate. This failsafe ensures that the serial will still work, but it just finds an arbitrary baudrate that works.

In the Doc directory of RomWBW, look at the file called "Z180 ASCI Baud Rate Options.pdf". If you look at the column for 9.216 MHz CPU Clock Rate, you will see the baud rates that are possible for that clock rate.

Good luck!

Wayne

from romwbw.

MorfeoMatrixx avatar MorfeoMatrixx commented on June 12, 2024

Many thanks Wayne for your zero-wait-state response ;-)
I'll try a valid baud rate for the half speed clock tonight and let you know any problem.
Cheers, JL.

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

from romwbw.

MorfeoMatrixx avatar MorfeoMatrixx commented on June 12, 2024

Worked perfectly at 57,600 bps !
I also changed the LEDENABLE value to TRUE to activate Steve's patch for the Diag LEDs and now they turn off after booting CP/M and show drive activity. Neat; I sugest setting this as the default behavior for SC126 & SC130 boards.

Cheers, JL.

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

Hmmm... I thought it was the default. I will check on this. Thanks.

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

I just checked and it sure looks to me like LEDENABLE's default value is TRUE. It is set in the base config file "cfg_scz180.asm". The base value for LEDENABLE is not overridden in either "SCZ180_126.asm" or "SCZ180_130.asm", so it should be TRUE in the default build configuration for both boards.

Let me know if you think I am missing something.

Thanks,

Wayne

from romwbw.

MorfeoMatrixx avatar MorfeoMatrixx commented on June 12, 2024

The problem is that I'm still using the stock ROM, that predates the change...


RetroBrew HBIOS v2.9.2-pre.1, 2019-07-23

RC2014 Z8S180-N @ 18.428MHz IO=0xC0
0 MEM W/S, 2 I/O W/S, INT MODE 2
512KB ROM, 512KB RAM


By the way, running the provided FLASH4 program to update my ROM, returned the message below. I sent Will an email so he can add support for your SST39SF040 chips.


CP/M-80 v2.2, 54.0K TPA

B>dir flash*.*
B: FLASH COM
B>flash read romwbw00.bin
FLASH4 by Will Sowerbutts [email protected] version 1.2.3

Using RomWBW (v2.6+) bank switching.
Flash memory chip ID is 0xC340: Unknown flash chip.
Your flash memory chip is not recognised.

Please email [email protected] if you would like support for your
system added to this program.

B>


Cheers, JL.

from romwbw.

b1ackmai1er avatar b1ackmai1er commented on June 12, 2024

from romwbw.

MorfeoMatrixx avatar MorfeoMatrixx commented on June 12, 2024

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

The software controlled bank selection for the ROM is not
implemented at the moment (perhaps Wayne, the designer of the board, can
give you more details on this, he's the Yoda Master, I'm a humble user).

Just want to clarify that the designer (and producer) of the SC126 board is actually Steve Cousins.

Thanks,

Wayne

from romwbw.

will avatar will commented on June 12, 2024

@will: this is the confirmation you were looking for.

i'm not looking for any sort of confirmation, wtf

from romwbw.

wwarthen avatar wwarthen commented on June 12, 2024

@will: this is the confirmation you were looking for.

i'm not looking for any sort of confirmation, wtf

I think @MorfeoMatrixx intended the comment for Will Sowerbutts. Wrong Will.

-Wayne

from romwbw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.