Skip to content

Commit ba09407

Browse files
committed
Updating documentation with new function get_decr
1 parent e8599cb commit ba09407

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Macro name: `VTUI_SET_DECR`<br>
210210
Routine name: `vtui_set_decr`<br>
211211
Communication registers: .C<br>
212212
Preparatory routines: none<br>
213-
Registers affected: .A
213+
Registers affected: .A<br>
214214
ZP registers affected: none<br>
215215

216216
**Description** Set the VERA decrement bit. The decrement bit decides if the stride value is added to- or subtracted from the current VERA address. Carry Clear (.C=0) means increment by stride value. Carry Set (.C=1) means decrement by stride value.
@@ -219,6 +219,22 @@ ZP registers affected: none<br>
219219
|------|-----------------------|
220220
| .C | 0 = Increment, 1 = Decrement |
221221

222+
## Function name: get_decr
223+
Purpose: Get the current VERA decrement bit<br>
224+
Call address: `VTUILIB+59`<br>
225+
Macro name: `VTUI_GET_DECR`<br>
226+
Routine name: `vtui_set_decr`<br>
227+
Communication registers: .C<br>
228+
Preparatory routines: none<br>
229+
Registers affected: .A<br>
230+
ZP registers affected: none<br>
231+
232+
**Description** Get the current VERA decrement bit.
233+
234+
| Registers | Purpose |
235+
|------|-------|
236+
| .C | 0 = Increment, 1 = Decrement |
237+
222238
## Function name: clr_scr
223239
Purpose: Clear the entire screen with specific character and color.<br>
224240
Call address: `VTUILIB+14`<br>

0 commit comments

Comments
 (0)