Commit 910d81

2026-05-21 09:58:31 Bob Green: -/-
programming/machine library.md ..
@@ 56,8 56,8 @@
void _cf_wait_busy(void);
void _cf_wait_data(void);
void cf_init(void);
+ int cf_identify(uint8_t drive_num, cf_info_t *info);
int cf_read(uint8_t drive_num, uint32_t sector, uint8_t *buffer);
-
```
## Vectors and Interrupts
@@ 67,6 67,7 @@
unsigned int get_isr_handler(int vector_number);
unsigned int set_isr_handler(int vector_number, void isr(void));
```
+
`_get_vectors_base()` return the contents of the `ivr` register on the 68030 or 0 on the 68000.
`get_isr_handler` returns the address of the handler currently configured to handle the exception specified by `vector_number`.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9