Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#513 Autorun bug

v2.4.x
open
nobody
None
2014-08-27
2014-04-02
MIRKOSOFT
No

I found autorun bug in nightly build (maybe also earlier) 2.4.6-x86-r28017.

I tried to use to LOAD and then execute ML program (single file, no diskimage) with command e.g.:
x64 -autoload "test.prg" -keybuf "sys49152\x0d"
ML program is written for testing VIC-II exchange border color.
x64 starts, executes SYS and it works not - like there's not loaded anything. But then I executed program directly in x64 (without restart) and works. I meant that problem is in delay.
So, I added -autostart-delay 10 to command line and it does the same.
The same effect has x64sc, xscpu64 and xvic (xvic has other test program).
In case of xvic is also problem with autorun Basic programs - crashes.

Only in case x128 this works without problem.

Please look at this bug. I wrote VB app for using it with every file - reads first 2 bytes of PRG and creates keybuf. It was working in VICE 2.4, later were changed options to use keybuf, so I needed rebuild it and today I was working, but really don't know reason why it works not.

Miro

Discussion

  • MIRKOSOFT
    MIRKOSOFT
    2014-05-01

    Updated: WinVICE-2.4.6-x86-r28043
    x128, x64, x64sc, xvic, xplus4 and xscpu64 = Basic programs ok
    x128 and xscpu64 - ML programs = ok

    Not working only ML programs - x64, x64sc, xvic, xplus4

    Miro

     
  • MIRKOSOFT
    MIRKOSOFT
    2014-05-06

    Updated: WinVICE-2.4.6-x86-r28051
    Basic programs working ok (x128/x64/x64sc/xvic/xplus4/xscpu64 and 64 mode of x128)
    ML programs working on x128/xscpu64

    ML programs not working: x64/x64sc/xvic/xplus4/64 mode of x128

    Miro

     
  • gpz
    gpz
    2014-08-27

    a new option -keybuf-delay was added for this kind of situation a while ago, a line like this should do the trick:

    x64 -keybuf-delay 12345 -autoload "test.prg" -keybuf "sys49152\x0d"

    • however, for some reason it does not work with -autoload. needs further investigation.