Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4410

Native IBM 1130 simulator

$
0
0
http://ibm1130.org/sim

this one is for the user Pop ;)



[root@kindle bin]# /mnt/us/extensions/IBM/ibm1130

IBM 1130 simulator V3.8-0

sim> help
Code:

ba{cktrace} {n}          list last n branches/skips/interrupts
v{iew} filename          view a text file with notepad
w{here} address          find phase and offset of an address
ph{debug} off|phlo phhi  break on phase load
font MAPFILE            use font mapping definitions in MAPFILE
del{ete} filename        remove file
r{eset} {ALL|<device>}  reset simulator
e{xamine} <list>        examine memory or registers
ie{xamine} <list>        interactive examine memory or registers
d{eposit} <list> <val>  deposit in memory or registers
id{eposit} <list>        interactive deposit in memory or registers
ev{aluate} <expr>        evaluate symbolic expression
ru{n} {new PC}          reset and start simulation
go {new PC}              start simulation
s{tep} {n}              simulate n instructions
c{ont}                  continue simulation
b{oot} <unit>            bootstrap unit
br{eak} <list>          set breakpoints
nobr{eak} <list>        clear breakpoints
at{tach} <unit> <file>  attach file to simulated unit
det{ach} <unit>          detach file from simulated unit
as{sign} <device> <name> assign logical name for device
dea{ssign} <device>      deassign logical name for device
sa{ve} <file>            save simulator to file
rest{ore}|ge{t} <file>  restore simulator from file
l{oad} <file> {<args>}  load binary file
du(mp) <file> {<args>}  dump binary file
exi{t}|q{uit}|by{e}      exit from simulation
set console arg{,arg...} set console options
set break <list>        set breakpoints
set nobreak <list>      clear breakpoints
set throttle x{M|K|%}    set simulation rate
set nothrottle          set simulation rate to maximum
set <dev> OCT|DEC|HEX    set device display radix
set <dev> ENABLED        enable device
set <dev> DISABLED      disable device
set <dev> DEBUG{=arg}    set device debug flags
set <dev> NODEBUG={arg}  clear device debug flags
set <dev> arg{,arg...}  set device parameters
set <unit> ENABLED      enable unit
set <unit> DISABLED      disable unit
set <unit> arg{,arg...}  set unit parameters
sh{ow} br{eak} <list>    show breakpoints
sh{ow} con{figuration}  show configuration
sh{ow} cons{ole} {arg}  show console options
sh{ow} dev{ices}        show devices
sh{ow} m{odifiers}      show modifiers
sh{ow} n{ames}          show logical names
sh{ow} q{ueue}          show event queue
sh{ow} ti{me}            show simulated time
sh{ow} th{rottle}        show simulation rate
sh{ow} ve{rsion}        show simulator version
sh{ow} <dev> RADIX      show device display radix
sh{ow} <dev> DEBUG      show device debug flags
sh{ow} <dev> MODIFIERS  show device modifiers
sh{ow} <dev} NAMES      show device logical name
sh{ow} <dev> {arg,...}  show device parameters
sh{ow} <unit> {arg,...}  show unit parameters
do <file> {arg,arg...}  process command file
echo <string>            display <string>
assert {<dev>} <cond>    test simulator state against condition
h{elp}                  type this message
h{elp} <command>        type help for command
!                        execute local command interpreter
! <command>              execute local host command

I haven't even packaged it to run in a shell.

But yeah. Works. :thumbsup:

Enjoy Pop ;)

(compiled for all kindles actually)

And Knc1 found this one :2thumbsup

Attached Files
File Type: zip IBM.zip (4.03 MB)

Viewing all articles
Browse latest Browse all 4410

Trending Articles