DoStuff Wiki
Attachments
History
Blame
View Source
Documentation
About An Otter Wiki
Toggle dark mode
Login
Home
A - Z
Changelog
Page Index
Hardware
Backplane
Board Features
Memory Map
News
20260512 - Increased Cpu Speed
Programming
Examples
Duart
PIT
Handling Interrupts
Machine Library
MMU
Reference Material
Runtime
Toolchains
Project Ideas
Operating System
Gloworm Port
Linux Port
Atari Vector Generator
Ethernet Card
Keyboard Controller
Monitor
BIOS
Books
Datasheets
Getting Connected
Home
Specs and Tech Notes
Programming
Machine Library
910d81
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