1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-27 20:51:17 +00:00

Add missing docblocks

This commit is contained in:
Peter Evans 2018-01-11 21:58:05 -06:00
parent 9564f86a57
commit d79bcba5ec

View File

@ -163,6 +163,12 @@ apple2_mem_init_sys_rom(apple2 *mach)
return OK;
}
/*
* Handle reads to the soft switches that handle bank-switching. Note
* that some of these "reads" actually modify how banks are switched
* between ROM, RAM, or bank 2 RAM. Sorry about that -- it's just the
* way it worked on the Apple II.
*/
SEGMENT_READER(apple2_mem_read_bank_switch)
{
apple2 *mach;
@ -235,6 +241,10 @@ SEGMENT_READER(apple2_mem_read_bank_switch)
return 0;
}
/*
* Handle writes to the soft switches that modify bank-switching
* behavior.
*/
SEGMENT_WRITER(apple2_mem_write_bank_switch)
{
apple2 *mach = (apple2 *)_mach;