Mercurial > repos > blastem
comparison romdb.h @ 1519:1f745318f10a
Made the NOR flash emulation a bit more flexible, but not yet flexible enough to properly support the flash chip in the MegaWiFi cart
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 31 Jan 2018 22:05:10 -0800 |
parents | 14a2834d010c |
children | 360d5bab199f |
comparison
equal
deleted
inserted
replaced
1518:713b504dc577 | 1519:1f745318f10a |
---|---|
29 uint8_t *page_buffer; | 29 uint8_t *page_buffer; |
30 uint32_t size; | 30 uint32_t size; |
31 uint32_t page_size; | 31 uint32_t page_size; |
32 uint32_t current_page; | 32 uint32_t current_page; |
33 uint32_t last_write_cycle; | 33 uint32_t last_write_cycle; |
34 uint32_t cmd_address1; | |
35 uint32_t cmd_address2; | |
34 uint16_t product_id; | 36 uint16_t product_id; |
35 uint8_t mode; | 37 uint8_t mode; |
36 uint8_t cmd_state; | 38 uint8_t cmd_state; |
37 uint8_t alt_cmd; | 39 uint8_t alt_cmd; |
38 uint8_t bus_flags; | 40 uint8_t bus_flags; |
59 eeprom_map *eeprom_map; | 61 eeprom_map *eeprom_map; |
60 char *port1_override; | 62 char *port1_override; |
61 char *port2_override; | 63 char *port2_override; |
62 char *ext_override; | 64 char *ext_override; |
63 char *mouse_mode; | 65 char *mouse_mode; |
66 nor_state *nor; | |
64 uint32_t num_eeprom; | 67 uint32_t num_eeprom; |
65 uint32_t map_chunks; | 68 uint32_t map_chunks; |
66 uint32_t rom_size; | 69 uint32_t rom_size; |
67 uint32_t save_size; | 70 uint32_t save_size; |
68 uint32_t save_mask; | 71 uint32_t save_mask; |
69 uint32_t save_page_size; | |
70 uint16_t save_product_id; | |
71 uint16_t mapper_start_index; | 72 uint16_t mapper_start_index; |
72 uint8_t save_type; | 73 uint8_t save_type; |
73 uint8_t save_bus; //only used for NOR currently | 74 uint8_t save_bus; //only used for NOR currently |
74 uint8_t mapper_type; | 75 uint8_t mapper_type; |
75 uint8_t regions; | 76 uint8_t regions; |