comparison doc/Low-level-commands @ 205:fc82f0464480

doc/Low-level-commands: update for update-rec-* command family changes
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Mar 2021 05:19:31 +0000
parents a5fee308b699
children fc0ab2b0c56e
comparison
equal deleted inserted replaced
204:a462012c9e67 205:fc82f0464480
113 rather than via a hex data file. 113 rather than via a hex data file.
114 114
115 update-rec record-index hexfile 115 update-rec record-index hexfile
116 116
117 This fc-simtool command reads a hex data file (just like update-bin) and sends 117 This fc-simtool command reads a hex data file (just like update-bin) and sends
118 this byte content to the SIM in an UPDATE RECORD command, using absolute 118 this byte content to the SIM in an UPDATE RECORD command, using either absolute
119 addressing mode. The record-index argument is the same as in the readrec 119 or PREVIOUS addressing mode. The record-index argument is the same as in the
120 command. The number of bytes in the hex data file must equal the EF record 120 readrec command for the absolute addressing mode, or 'prev' keyword to use the
121 length. 121 PREVIOUS addressing mode for writing to cyclic EFs. The number of bytes in the
122 hex data file must equal the EF record length.
122 123
123 update-rec-prev hexfile 124 update-rec-imm record-index hex-string
124 125
125 This fc-simtool command is like update-rec, but the UPDATE RECORD command sent 126 This command works like update-rec, but the bytes to be written are given as a
126 to the SIM uses the PREVIOUS addressing mode, and there is no record number. 127 hex string direct argument (like an immediate operand in assembly languages),
127 This form is needed in order to write to cyclic EFs. 128 rather than via a hex data file.
129
130 update-rec-fill record-index fill-byte
131
132 This fc-simtool command sends an UPDATE RECORD command to the SIM with payload
133 equal to the specified fill byte, replicated to the record length.
128 134
129 restore-file File_ID host-bin-file 135 restore-file File_ID host-bin-file
130 136
131 This command restores a binary backup previously made with savebin back to the 137 This command restores a binary backup previously made with savebin back to the
132 SIM, or writes new bits into the EF if you can construct the necessary binary 138 SIM, or writes new bits into the EF if you can construct the necessary binary