[hatari-users] hatari-prg-args not working quite right

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-users Archives ]


hatari-prg-args will launch an instance of hatari, but the requested
program doesn't run.

Hatari v2.5.0-devel (Jan 27 2024), fresh from the git repo, and also
hatari	2.4.1+dfsg-2, the current Debian 12 (bookworm) package.
Both instances are on Debian 12 (bookworm).

OS is EmuTos 202207 or so.

I am attaching a trace from one session.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
charles@jhegaala:~$ /usr/local/bin/hatari-prg-args -q -- 'C:\FF\FAST4TH.TTP'
==> /tmp/tmp.jo1keWDJd2/args <==

==> /tmp/tmp.jo1keWDJd2/basepage.ini <==
setopt dec
w "basepage+0x80" 0
l /tmp/tmp.jo1keWDJd2/args "basepage+0x81"
# info basepage
b GemdosOpcode = 0x00 :quiet :trace :file /tmp/tmp.jo1keWDJd2/quit.ini
b GemdosOpcode = 0x4C :quiet :trace :file /tmp/tmp.jo1keWDJd2/quit.ini

==> /tmp/tmp.jo1keWDJd2/pexec.ini <==
b GemdosOpcode = 0x4B && OsCallParam = 0x0 :once :quiet :trace :file /tmp/tmp.jo1keWDJd2/start.ini

==> /tmp/tmp.jo1keWDJd2/quit.ini <==
quit

==> /tmp/tmp.jo1keWDJd2/start.ini <==
b pc = text :once :trace :quiet :file /tmp/tmp.jo1keWDJd2/basepage.ini
hatari --parse /tmp/tmp.jo1keWDJd2/pexec.ini --auto C:\FF\FAST4TH.TTP  
DEBUG: ARG = floppy image: 
DEBUG: STMemory_RAM_SetBankSize total=4096 KB bank0=2048 KB bank1=2048 KB MMU=a
DEBUG: Video_SetSystemTimings 1 3 -> 2 (WS3) 503 503 64
INFO : Hatari v2.5.0-devel (Jan 27 2024), compiled on:  Jan 27 2024, 15:20:21
DEBUG: Video_SetSystemTimings 1 3 -> 2 (WS3) 503 503 64
DEBUG: Configured max Hatari resolution = 832x588, optimal for ST = 832x552(+36)
DEBUG: STMemory_RAM_SetBankSize total=4096 KB bank0=2048 KB bank1=2048 KB MMU=a
DEBUG: update cyc speed 0 throttle 0.000000 clock_mult 512
DEBUG: CPU cycleunit: 256 (0.500)
DEBUG: 1872 CPU functions
DEBUG: Sound: Disabled
INFO : Mounting ACSI HD image '/home/charles/projects/hatari/fast.forth.img'
INFO : Mounting ACSI HD image '/home/charles/projects/hatari/drived.img'
INFO : Mounting ACSI HD image '/home/charles/projects/hatari/atari.micropolis.img'
DEBUG: ACSI: 6, SCSI: 0, IDE: 0 - GEMDOS skipping 12 partitions.
DEBUG: Checking GEMDOS O: HDD: /home/charles/projects/hatari/cdrive
INFO : GEMDOS HDD emulation, O: <-> /home/charles/projects/hatari/cdrive.
DEBUG: memory_map_Standard_RAM total=4194304 ram0=2097152 ram1=2097152 mmu0=131072 mmu1=131072
DEBUG: memory_map_Standard_RAM - enable MMU 4194304 131072 131072
DEBUG: Loaded TOS version 2.06, starting at $e00000, country code = 127, PAL
DEBUG: Skipped TOS patches.
DEBUG: Video_SetSystemTimings 1 3 -> 2 (WS3) 503 503 64
DEBUG: Video_SetSystemTimings 1 3 -> 2 (WS3) 503 503 64
DEBUG: No GEMDOS HD boot drive, using builtin INF autostart file.
DEBUG: Virtual 'A:\EMUDESK.INF' autostart INF file created for 'C:\FF\FAST4TH.TTP'
Reading debugger commands from '/tmp/tmp.jo1keWDJd2/pexec.ini'...
Changed to input file dir '/tmp/tmp.jo1keWDJd2'.
> b GemdosOpcode = 0x4B && OsCallParam = 0x0 :once :quiet :trace :file /tmp/tmp.jo1keWDJd2/start.ini
Changed back to '/home/charles' dir.
DEBUG: Host system has accurate delays. (1)
DEBUG: update cyc speed 0 throttle 0.000000 clock_mult 512
DEBUG: CPU cycleunit: 256 (0.500)
DEBUG: Building CPU, 44274 opcodes (0 -2 1)
DEBUG: CPU=68000, FPU=0, MMU=0, JIT=0.
DEBUG:  prefetch and cycle-exact
DEBUG:  24-bit
DEBUG: 
DEBUG: update cyc speed 0 throttle 0.000000 clock_mult 512
DEBUG: CPU cycleunit: 256 (0.500)
DEBUG: hardreset, memory cleared
DEBUG: m68k_run_1_ce
DEBUG: Illegal instruction: 4e7b at 00E0007C -> 00E00080
DEBUG: CPU reset PC=e0008c (ROM memory)..
DEBUG: Illegal instruction: 4e7b at 00E000BA -> 00E000BE
DEBUG: Illegal instruction: 4e7b at 00E000EA -> 00E000FE
WARN : Bus Error reading at address $ffff8282, PC=$e00172 addr_e3=e00172 op_e3=4a38
WARN : Bus Error reading at address $ffff8400, PC=$e0018c addr_e3=e0018c op_e3=4a38
DEBUG: memory_map_Standard_RAM total=4194304 ram0=2097152 ram1=2097152 mmu0=2097152 mmu1=2097152
DEBUG: memory_map_Standard_RAM total=4194304 ram0=2097152 ram1=2097152 mmu0=2097152 mmu1=2097152
DEBUG: Bus error bget at 004fffff
WARN : Bus Error reading at address $4fffff, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Illegal instruction: 42c0 at 00E0048E -> 00E004DE
WARN : Bus Error reading at address $fffffa40, PC=$e0056e addr_e3=e0056e op_e3=4a78
WARN : Bus Error reading at address $ffff860f, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8400, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8282, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $fffffa81, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8c80, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8e09, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8961, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8901, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffffa200, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff9201, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at fff0001d
WARN : Bus Error reading at address $fff0001d, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at fff0005d
WARN : Bus Error reading at address $fff0005d, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at fff0009d
WARN : Bus Error reading at address $fff0009d, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at fff000dd
WARN : Bus Error reading at address $fff000dd, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $ffff8701, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
WARN : Bus Error reading at address $fffffe00, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 00400000
WARN : Bus Error reading at address $400000, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 006c4710
WARN : Bus Error reading at address $6c4710, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 005d1234
WARN : Bus Error reading at address $5d1234, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 006d3148
WARN : Bus Error reading at address $6d3148, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 00400000
WARN : Bus Error reading at address $400000, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 00d003c3
WARN : Bus Error reading at address $d003c3, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: Bus error bget at 00cc03c3
WARN : Bus Error reading at address $cc03c3, PC=$e00d76 addr_e3=e00d76 op_e3=4a10
DEBUG: SDL2 window event: 0x1
DEBUG: SDL2 window event: 0x2
DEBUG: SDL2 window event: 0x1
DEBUG: SDL2 window event: 0x4
DEBUG: SDL2 window event: 0x3
DEBUG: SDL2 window event: 0xa
NF_CONFIG not available
unit 2 is managed by EmuTOS internal drivers: Hatari  EmulatedHarddisk
ada:  MBR at 0 $04
unit 3 is managed by EmuTOS internal drivers: Hatari  EmulatedHarddisk
adb:  MBR at 0 $04
unit 4 is managed by EmuTOS internal drivers: Hatari  EmulatedHarddisk
adc:  GEM GEM GEM GEM ICD< GEM GEM GEM GEM GEM GEM GEM >
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
BOOTSTRAP natfeat not available
BOOTSTRAP natfeat not available
VDI video mode = 640x200 2-plane
DEBUG: SDL2 window event: 0x2
DEBUG: SDL2 window event: 0x7
DEBUG: SDL2 window event: 0xd
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0x9
DEBUG: SDL2 window event: 0x1
DEBUG: SDL2 window event: 0x3
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xd
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xd
DEBUG: SDL2 window event: 0x2
DEBUG: SDL2 window event: 0x7
DEBUG: SDL2 window event: 0x9
DEBUG: SDL2 window event: 0x1
DEBUG: SDL2 window event: 0x3
DEBUG: SDL2 window event: 0x2
DEBUG: SDL2 window event: 0x7
DEBUG: SDL2 window event: 0x9
DEBUG: SDL2 window event: 0x1
DEBUG: SDL2 window event: 0x3
DEBUG: SDL2 window event: 0x2
DEBUG: SDL2 window event: 0x7
DEBUG: SDL2 window event: 0x9
DEBUG: SDL2 window event: 0x1
DEBUG: SDL2 window event: 0x3
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xd
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xd
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xd
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xc
DEBUG: SDL2 window event: 0xf
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xa
DEBUG: SDL2 window event: 0xb
DEBUG: SDL2 window event: 0xa
NatFeats: poweroff
DEBUG: exit m68k_run
DEBUG: Virtual INF file removed.
DEBUG: No GEMDOS HD boot drive, using builtin INF autostart file.
DEBUG: Virtual 'A:\EMUDESK.INF' autostart INF file created for 'C:\FF\FAST4TH.TTP'
charles@jhegaala:~$ 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/