-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Dean/dev/v2.1 #79
Dean/dev/v2.1 #79
Conversation
Additional:
|
As a macOS user this looks interesting to me. Can I ask how you run the CP/M utilities under Linux? |
CPM is run using https://github.com/jhallen/cpm emulator. It's very similar to the one nextor uses for windows. But it has a command line length limit -and was chopping off the trailing part of the M80 and L80 commands. So i did a bit of process piping to submit to the underlying process. I have not considered mac os much -- its very possible i am using something thats not POSIX compliant - grep and sed some times have subtle differences that have caused me pain with my osx colleagues. |
I've been working on build for Linux for a few days using Make for Nextor. I used the same emulator for CP / M, but another tool for hex2bin with the same result. In this your MR is missing from SymToEqus how are you doing it? |
Hi Leandro, What a strange coincident. Be interested in seeing what you have done - i am no
I solved the symtoequs issue with a few lines of bash - have a look at the file
I probably could have used the distro's SDCC - I use z88dk a bit, and that likes to install a patched version of sdcc - i guess i was just repeating myself without thinking...
I decided against the use of submodules - i generally prefer submodules when i will be iterating on the sub module code - not anticipating needing to make changes to cpm. The little script to get cpm does a shallow copy - so nice and quick. But it's not a big deal. I also set the path to the local sdcc, cpm and hex2bin - so as to avoid potential conflicts (I have a patched cpm instance on my machine that i use for testing code i target to my RC2014/RomWBW image - didnt want that version used) My biggest challenge was getting a baseline comparison - as I have mention in this PR, and in a issue on the repo, I was not able to get the 2.1 and 3.0 branches to compile using the windows scripts. I later noticed a bunch of makefiles - that i guess are for Windows (dont have make on windows - dont generally dev on windows) - do u have any insights into the windows build process? Cheers |
Refactor the linux build system, to use a single working directory for all build targets bin/working This improves parallel builds and reduces complexity of build system. To achieve this, all source file names must be unique. So some file names have had to be renamed: chkdsk/macros.inc -> chkdsk/chmacros.inc chkdsk/const.inc -> chkdsk/chconst.inc Other conflicting names are resolved by having unqiue sym link names. See the source/Makefile prep target for more details
Hi @vipoo. That's fun, because I've been working on basically the same thing for the last couple of months, and I have this near finished and about to being merged: #80 However, I really appreciate your efforts, and while I don't think I'll merge this pull request in its actual form it would be utterly awesome to have proper makefiles for Nextor - in fact I was planning to do them myself in the future but the prospect of having to learn the intricacies of So, to reiterate: thank you very very much for this, and my recommendation for you is: wait until I have my pull request merged, and then adapt yours (or create a new one) to whatever you think you could improve on what I've done - very especially the makefiles, oh yes, I would love so much to have working makefiles! |
Hi mate, That's fair enough - this is your gig. I am not sure what part of my changes will make sense with your new branch - the approaches will probably be in conflict a bit. And this PR is now out of date - i have done a lot of updates to the Makefile build process since - if interested have a look at this commit (dinoboards@5cd1f2a) Some of my goals/thoughts/approach when developing the build scripts were:
Cheers |
A lot of those sound like good ideas to me, so if the two changes can be combined… |
Oh and another thing I had changed, was to ensure all MAC files had CRLF line endings. |
As I recreated some branches - my commit id has changed: dinoboards@5cd1f2a |
Hello,
Not sure if you are still active on this repo or accepting PRs. This PR does appear quite large (sorry). If u dont have time or inclination to look at this - no worries.
This is my attempt to build the platform using linux and make. It's still a work in progress -- at this stage i have built sunrise rom and nextor.sys/command.com and a couple of tools- tested using blueMSX image.
Testing at this stage is no more than ---- do i have an A> prompt? .... probably needs more rigour in the testing.
I was not able to get the windows build script to work for the v2.1 branch - there seems to be a few issues -- i think some of the errors i see are meant to be ignored - but the main issue is when it attempts to apply the drivers to the base image - complains that the driver has already been applied - it looks like the bank count in the first page is 0 - not 7.
I initially built and tested the build process on the v2.0 branch -- i was able to build all units from windows - so this enabled me to compare the produced binaries - as well as test under bluemsx.
I am very new to MSX and Nextor - so there is a lot i am probably not aware of.
So if u feel inclined to give me feedback -- be great - not sure if you are interested in having a linux build image.
Things i would like to do next:
Summary of changes in PR:
readme.md
file can be found inlinuxtools
briefly describing the process - still need to add more notes.Advantages of the linux build process