Tuesday 30 January 2018

MEGA65 configuration utility / Konfigurations Programme

[Diese Post versuche ich nochmal auf Englisch und Deutsch beide vor zu stellen. Hoffentlich ist mein Deutsch nicht so schlecht, dass es noch bequem zu lesen wird. Auch danke Arndt für einige Korrigierungen dabei.]

After lots of posts full of words, here is one mostly full of pictures.  Daniel has been beavering away on a configuration utility for the MEGA65, so that you can set all the important settings, without having to load anything.  Daniel has done a great job, and freed me up to work on various other things, mostly bug fixing various little things, in the meantime.

Die letzten Posten haben alle viele Wörter gemacht, hier ist mal einer mit vielerr Bildern. Daniel ist bis zum Umfallen geschuftet und ein "Konfigurations-Utility" für den MEGA65 geschrieben. Jetzt kann man alle wichtigen Eingstellungen vornehmen, ohne irgendwas dafür laden zu müssen. Daniel hat das richtig gut gemacht und mir damit Gelegenheit gegeben, verschiedene Dinge voranzubringen, meist nötige Bug-Fixes. 

So first, we start by holding C= and resetting the MEGA65, and then pressing ALT while still holding C= after kickstart says "release control to continue booting". This makes the Utility Menu appear. Think of it like Batman's utility belt, only 8-bit, and generally lacking in the shark repellant department:

Als Erstes: Wenn wir beim Starten oder Resetten C= drücken, meldet das Kickstart "Release control to continue booting". Wenn stattdessen die ALT-Taste dazu gedrückt wird, erscheint das Utility-Menü. Das muss man wie Batmans Ausrüstungsgürtel vorstellen, nur in 8-bit,  und natürlich ohne die Haiabwehr-Sachen:



When we press 1 to load the new configuration utility, it quickly appears, and can be controlled by mouse or keyboard to check and set various configuration options. The following few photos show the current contents of the screens (which is likely to change over time).
 
Wenn wir die 1 drücken, kommt ziemlich schnell das Konfigurations-Utility. Es wird entweder mit der Maus oder per Tastatur bedient, um damit alle möglichen Konfigurationsoptionen einzustellen. Die nächsten Bilder zeigen den gegenwärtigen Inhalt dieses Bildschirms (was sich in Zukunft sehr wahrscheinlich noch ändern wird).







Then when you are finished checking and setting everything, you can save and exit as you wish.  There is a confirmation prompt for added comfort.

Nach der Anschluss der Einstellungen kann man (wenn man möchte) speichern und die Konfigurationen verlassen. Es gibt eine Abfrage, die einen an die verschiedenen Speichermöglichkeiten erinnert.





9 comments:

  1. Hi Paul,

    will the settings be saved on SD or do you have to apply the settings again after a power cycle ?

    ReplyDelete
    Replies
    1. They get saved in the MEGA65's system partition on the SD card. This is already implemented.

      Paul.

      Delete
  2. Deutsch... der de facto Standardsprache der C64-Gemeinschaft. In den 80er Jahren, um die seriösen Commodore-Fachzeitschriften lesen zu können, musste man schon Deutsch können, und das ist auch heute noch
    so. Übung macht den Meister, sagen wir mal so, also nehme ich teil an der Sprachübung :)

    Also, seht gut aus! Allerdings finde ich den Mausbildschirm etwas verwirrend. Wie ich es verstehe, hasst du die Unterstützung für Amiga-Mäuse deaktivierbar gemacht, so dass Geräte wie diese auch können funktionieren:

    https://www.c64-wiki.com/wiki/Rushware_keypad

    ?

    Aggressiv/konservativ gilt nur wenn 1351 Emulation aktiv ist? Warum die seltsame Ordnung, Control port 2-1-1-2?

    P.S. Andere Leser: ich bin nicht der Daniel, der in der Nachricht genannt wird.

    ReplyDelete
    Replies
    1. Hallo nicht-Der-Daniel-sondern-Der-Andere-Daniel,

      Ja, die "aggressive-conservative" sind nur während 1351-Emulieren eingeschaltet ist. Sonst geht es ganz normal und man könnte solche Keypads ohne Problem benutzen. Es ist auch möglich, diese Einstellungen zu ändern, während die Maschine läuft. Als für die Ordnung der Liste, ja es ist nur einer einfache Fehler.

      Yes, the aggressive/conservative settings are only for when 1351-Emulation is enabled. If the joystick port mode is "normal", then you can use keypads like that without problem. Yes, the strange order is just an error on my part. I'll fix it.

      Paul.

      Delete
  3. Heyas! I'm the Daniel from the blog post. I haven't commented in here yet, I don't think. Anyway, here I am! I'm a little ashamed though because the version depicted is a little old, I already have a better one (after some feedback from Paul)! I'm sure it will be released soon.

    ReplyDelete
  4. Hi, I'm Arndt (http://www.godot64.de). I tidied up the German sections of Paul's post a little. Please tell me whether it's ok with it:

    --Paul:
    Die letzten Posts haben alle viele Worte gemacht, hier ist mal einer mit vielen Bildern. Daniel hat bis zum Umfallen geschuftet und ein "Konfigurations-Utility" für den MEGA65 geschrieben. Jetzt kann man alle wichtigen Einstellungen vornehmen, ohne irgendwas dafür laden zu müssen. Daniel hat das richtig gut gemacht und mir damit Gelegenheit gegeben, verschiedene andere Dinge voranzubringen, meist nötige Bug-Fixes.

    Als erstes: Wenn wir beim Starten oder Resetten C= drücken und dann die ALT-Taste dazu, meldet das Kickstart "Release control to continue Booting". Dadurch erscheint das Utility-Menü. Das muss man sich wie Batmans Ausrüstungsgürtel vorstellen, nur in 8-Bit, und natürlich ohne die Haiabwehr-Sachen: (Bilder)

    Wenn wir die 1 drücken, kommt ziemlich schnell das Konfigurations-Utility. Es wird entweder mit der Maus oder per Tastatur bedient, um damit alle möglichen Konfigurationsoptionen einzustellen. Die nächsten Bilder zeigen den gegenwärtigen Inhalt dieses Bildschirms (was sich in Zukunft sehr wahrscheinlich noch ändern wird).

    Nach Abschluss der Einstellungen kann man (wenn man möchte) speichern und die Konfiguration verlassen. Es gibt eine Abfrage, die einen an die verschiedenen Speichermöglichkeiten erinnert.
    --:Paul

    Arndt

    arndt@godot64.de

    ReplyDelete
    Replies
    1. Thanks. There was only one change I needed to make. Hopefully it has come out okay.

      Paul.

      Delete
  5. Hi Paul, hi Daniel

    i have just played around with the new "BIOS" functionality.

    First a question from me. If i want to save the settings, do i need to format the SD-card first with the built in formattool to get the MEGA-OS Partition ?

    Since i am using a c64 keyboard with my setup, i had to play around a little to get all functions.

    Maybe in the Kickstartscreen the c64 keys should be written as well.

    Here are the Commodore 64 "Hot"-keys i've found:

    pressing the "CTRL" key during reset or Power on, pauses the Kickstart and Information can be read, untill "CTRL" is released again.

    pressing "Space-bar" during reset or power on MEGA65 jumps into the Kickstart "BIOS" options to either:
    - 1 Configure Mega65 (entering BIOS)
    - 2 SDCard Format and FDisc Utility

    when in c65 or c64 mode,
    pressing and holding "RUN/STOP" and then pressing also "RESTORE", holding "RESTORE" for a couple of seconds and release "RESTORE"-key again, MEGA65 resets.

    Pressing "C=" (Commodore-key) during reset or power on, MEGA65 automatically boots into c64 mode.

    Pressing "RUN/STOP" during reset or power on, MEGA65 boots into Monitor (Is this the debug mode ?)

    What i didn't test: Is ist still possible to load different c65 kernelversions, by pressing number keys (1 - x) ? (Could this function be implemented in the BIOS as well ?)

    I know, that the "Default .D81 Image" function, is not implemented at this time, but will it be possible, that the "BIOS" checks the SD-content and displays (maybe in an extra menu) all available .D81 images and you can select the one you want to have as default ?
    The same question would be for the c65 Kernel selection.

    I have seen a "save" function in the BIOS. Is it possible to copy/paste these saved settings to a second SDCard, so that i could format a blank SDCard and paste my settings into the MEGA65-OS partition ?

    Would it be possible to navigate through the BIOS with a joystick as well ? and to navigate with a mouse, do you mean a standard PC USB mouse or a 1351 ?

    And now a really stupid question from me: If you are in the "BIOS" configuration menu, how do i see, what option is selected ? Is it the one with the full disc or the disc with the dot in the middle ? (Sorry, i really don't know...)

    The last thing i have seen is, that when entering "BIOS"
    configuration menu, the MEGA65 is in 50MHz and it is hard to use the keys to change the menus, pages and settings.

    Thanks Paul ! And thanks Daniel, the menu looks great and has alot of potential. It really has a BIOS flair and sorry for all my comments, but that came into my mind, while i was playing around with the BIOS.

    Anton

    ReplyDelete
    Replies
    1. Hello,

      We need to document the configuration utility. As you have already discovered half of the things, would you be willing to write a mark-down document?

      The mouse support is 1351 or Amiga mouse in joystick port 1(regardless of the 1351-emulation setting). I agree that joystick control would be nice.

      The twitchy keyboard input is a known problem that I am investigating (it is actually much worse on the R1 PCB, than on the Nexys boards).

      I believe it is the full disc that means an option is selected. I agree that this could be made less ambiguous. Suggestions welcome on the best way to achieve this.

      You must have formatted the SD card using the built-in format/fdisk utility, as that is the only thing that can currently create a valid MEGA65 system partition. It is probably possible to switch SD cards while using it, and it might then work to copy the settings to the other card. This is not a use-case that we currently support, but should be possible in time to do so. What we should probably do in the short term, is make the FDISK utility save the current settings to the SD card when formatting it. If you then switch SD cards while waiting at the utility menu, before you select FORMAT/FDISK, it should work fine. Ralph is working on FORMAT/FDISK improvements at the moment, so posting issues on github for these things would be timely. Indeed, finding problems and posting issues is a very helpful task at the moment, as it saves us the time of doing this ourselves, so that we can focus on fixing them for you :)

      Paul.

      Delete