Comment 5 for bug 579362

Revision history for this message
Abhay Buch (abhayb) wrote :

Hi,

I just joined the group (thought what you guys are doing is really cool). I'm somewhat unfamiliar with Linux GUI development so I thought I'd start out working on something involving the CLI. Attached is a patch (run with -p1 in the gnusim8085 directory) that adds some basic command line functionality.

When called with "gnusim8085 -r <file_list>", it runs through each of the files, reads it as an assembly file, executes it and prints a dump of the registers and flags to stdout. Errors and messages go to stderr. The format of the dump is specified in primary file "cli-reg-test".

I plan to add much more (memory dump, varying levels of verbosity, expect directives and the like), I just thought I'd run this by everyone first.

I've tested it pretty thoroughly, but I'm still pretty unfamiliar with some of the code. If I've done something to break everything horribly, please let me know and I'll fix it immediately.