promote branch px100mhz to master - outstanding issues

42 views
Skip to first unread message

Ben-401

unread,
Feb 7, 2018, 1:26:41 AM2/7/18
to MEGA65 Development
Hi All,

I understand that the "px100mhz" branch is where all the development is happening.
I also note that there seems confusion over which version of KS/xemu/etc should be used with the current "px100mhz" branch.
If you have any issues/fixes against the "px100mhz" branch, can you please come forward with them?

Ben.

Ben-401

unread,
Feb 7, 2018, 1:36:55 AM2/7/18
to MEGA65 Development
I have tried to build the px100mhz branch (from a clean git-clone), and experience errors.
i have started the "builder" branch whereby these errors are fixed. Pull request made.

When I finally get to compile the bitstream, I am unsure what files are required to go onto the SDCARD.
Can someone please update the documentation, because I cannot seem to get the mega65 working on the nexys4ddr board.

Paul Gardner-Stephen

unread,
Feb 7, 2018, 4:09:50 AM2/7/18
to Ben-401, MEGA65 Development
Hello,

You need only a MEGA65.ROM file on the SD card.

To test it without a working sdcard, you can do:

monitor_load -b nexys4ddr.bit -R mega65.rom -C charrom.bin -k kickup.m65

It will then totally ignore the SD card and boot to BASIC prompt.

Paul.

--
You received this message because you are subscribed to the Google Groups "MEGA65 Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to c65gs-development+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel England

unread,
Feb 7, 2018, 7:15:49 AM2/7/18
to MEGA65 Development
Ben,

You don't say what errors you are getting.  I'm building the px100MHz branch right now (and did last night) and it is working fine.

You need the cc65 programs (cc65, ca65, ld65 and cl65 off the top of my head).  And they have to be built from recent source and copied into the correct location.

If you are using 32bit Linux, you may have problems with ISE if you have the same set-up as me and you will need to manually update your path.  If you have this problem, let me know.

That's all I can think of...


Daniel.

Paul Gardner-Stephen

unread,
Feb 7, 2018, 3:57:10 PM2/7/18
to Daniel England, MEGA65 Development
Hello,

I think the problem is building after a make clean, the .ngc file is not there when it thinks it should be.
Running the make command with the same bitstream target a second time seems to fix it.

Paul.

Ben-401

unread,
Feb 7, 2018, 6:38:53 PM2/7/18
to MEGA65 Development
i have created a thread
https://groups.google.com/forum/#!topic/c65gs-development/Pmz0s4NfCdk
discussing how to use the monitor_load program.

paul, I see no problem with the NGC file upon first-time-build, (but this should be needs to be looked into).
paul, I have found that no sdcard is necessary to be inserted to the Nexys4ddr, so no need for MEGA65.ROM on the sdcard.

daniel, Hi, yes there are a few dependencies but not all of these are documented.


Others:
Before promoting the "px100mhz" branch to master/development, we ought to identify what is currently causing issues.
Can I suggest you please checkout a clean version of the repo, put the repo in a clean toplevel-directory, and follow the instructions in the "./doc/build.md".

If we want others (new people) to help with the development, we need to make it easy for them to get off the mark.
Because you have pre-built build-artefacts in your CWD, it gives a false-sense of what new people experience when building for the first time.
Ben

Ben-401

unread,
Feb 10, 2018, 12:50:49 AM2/10/18
to MEGA65 Development
the current "px100mhz" branch contains two similar Makefiles, one in the "./Makefile" and the other in the "./src/Makefile".
Can it be resolved which of these two we need, surely we dont need both.

Or do we just promote "px100mhz" to "master" leaving both Makefiles there?

Ben-401

unread,
Feb 10, 2018, 12:56:20 AM2/10/18
to MEGA65 Development
The "nexys4" target does not build, error is below.
Can someone please confirm that this does not build.
Paul, do we move forward and promote "px100mhz" to "master" and deal with this later?

==> 20180210_16:10:30 Starting: xst, see isework/nexys4.syr
xst -intstyle ise -ifn isework/nexys4.xst -ofn isework/nexys4.syr
Makefile:450: recipe for target 'isework/nexys4.ngc' failed
make: *** [isework/nexys4.ngc] Error 6

Pierluigi Rolando

unread,
Feb 27, 2018, 9:55:07 PM2/27/18
to MEGA65 Development
Same error for me -- I've just started another topic about it, sorry about the duplication, I searched for the specific error I saw in the logs (dotclock100 vs 150) and this thread didn't come up. I'm trying a fix on my local build.

- P

Paul Gardner-Stephen

unread,
Feb 27, 2018, 10:45:15 PM2/27/18
to Pierluigi Rolando, MEGA65 Development
I'll have a poke at the nexys4 target in a moment to update it with the few changes it requires.

Paul.

Reply all
Reply to author
Forward
0 new messages