Replies: 2 comments 3 replies
-
Having better defaults for the commands or having them fail if the parameters are not specified is a good idea. I'm not too keen on adding case-sensitive commands though. Using prom.size() to default commands like R is absolutely the correct answer. Even though the device size is specified in the constructor, I don't think it is actually used or enforced anywhere. The current implementation of 255 as the end address was just me being lazy to get a very useful D0 command to dump the first block of memory. It does produce unfortunate side effect with other commands. A better approach would be to define an uninitialized value, like 0ffffffff, and then have the individual commands check for parameters present and either fail or create their own defaults for missing parameters. That would let the Dump command default to start=0 and end=start+255. The Read and IsBlank commands would very naturally default to the entire device. I'm not sure about defaults for some of the others and interested to hear your thoughts. |
Beta Was this translation helpful? Give feedback.
-
I've recently acquired some old Atari cartridges that use 2316 and 2332 ROMs and have been trying to read them. The new default behavior of the Dump command made it so easy to page through the chips. Thanks for adding that! |
Beta Was this translation helpful? Give feedback.
-
I've been bitten a couple of times now by just entering the
r
key on its own and being surprised by just receiving 256 bytes from xmodem. (This is due to defaultingend
to0xff
, I guess maybe for thed
command?)Would it be worthwhile to add some new commands, e.g.,
R
,D
, etc, which operate on the entire chip? I'm happy to take a crack at it...Beta Was this translation helpful? Give feedback.
All reactions