Posts by Schachmeister1973

    Thanks for testing again. So, it has nothing to do with the Nexys Board. This is a bit weird, because in the program loop there is nothing that is executed in the first run only. All initialization is done before.

    So, one explanation could be, that the CPU does some caching in the first run - but the delay is far too long for 40Mhz for that few lines of code, so to be honest, i do not assume that this is really the case.

    I guess, the easiest solution is to simulate a keypress at startup as you did it, so there is no delay for the user. :)

    Thanks, Snoopy, for your feedback and for testing it on the emulator :)

    You´re right, a single keypress would be better and I will add this with the next revision. At the moment, there is a (little quicker) option to press F5 a second time instead of changing to the 4 key.

    There is something I don´t have a clear explanation for: ?( After starting the program, directly after entering the first letter, there seems to be a little (~100 ms) delay before the letter appears on the screen - this occurs only for the first letter or the first time I press Return. It somehow seems like caching, but the delay seems too long for such few instructions to be executed.

    Did you notice this on the emulator as well?


    I recently came to know about the MEGA65 and the work of the MEGA-Team and the community and how far this project has come, impressed me immediately.

    So I bought a Nexys Board to shorten the time until the MEGA65 will be available.

    I tested the capabilities of Basic 10 and when I came across the underline text mode, I started to program a simple text based spreadsheet programm.

    In the end it has become quite beautiful and comprehensive with a scrollable 50x50 cell table, formula calculations and basic bar graphs done with Sprites.

    Maybe it can also help other MEGA65 Beginners, how arrays, string processing, sprites, file handling or memory blitting can be done quite easily with Basic 10.

    So, whoever is interested, feel free to use the code. The D81 contains the program itself and 3 more files that are used for displaying the inline help only.

    I only tested it with my Nexys Board, I don´t even have a emulator, so I´m not sure, how it behaves on other platforms.