shuffle bus.h
This commit is contained in:
parent
3879721b28
commit
ebb7bb3fd0
1 changed files with 2 additions and 4 deletions
6
bus.h
6
bus.h
|
@ -98,19 +98,19 @@ public:
|
|||
~bus();
|
||||
|
||||
void reset();
|
||||
void init(); // invoked by 'RESET' command
|
||||
|
||||
void set_console_switches(const uint16_t new_state) { console_switches = new_state; }
|
||||
void set_console_switch(const int bit, const bool state) { console_switches &= ~(1 << bit); console_switches |= state << bit; }
|
||||
uint16_t get_console_switches() { return console_switches; }
|
||||
void set_debug_mode() { console_switches |= 128; }
|
||||
uint16_t get_console_leds() { return console_leds; }
|
||||
|
||||
int get_memory_size() const { return n_pages; }
|
||||
void set_memory_size(const int n_pages);
|
||||
|
||||
void mmudebug(const uint16_t a);
|
||||
|
||||
uint16_t get_console_leds() { return console_leds; }
|
||||
|
||||
void add_cpu (cpu *const c );
|
||||
void add_tm11(tm_11 *const tm11 );
|
||||
void add_rk05(rk05 *const rk05_);
|
||||
|
@ -122,8 +122,6 @@ public:
|
|||
tty *getTty() { return tty_; }
|
||||
mmu *getMMU() { return mmu_; }
|
||||
|
||||
void init(); // invoked by 'RESET' command
|
||||
|
||||
uint16_t read (const uint16_t a, const word_mode_t word_mode, const rm_selection_t mode_selection, const bool peek_only=false, const d_i_space_t s = i_space);
|
||||
uint16_t readByte(const uint16_t a) { return read(a, wm_byte, rm_cur); }
|
||||
uint16_t readWord(const uint16_t a, const d_i_space_t s = i_space);
|
||||
|
|
Loading…
Add table
Reference in a new issue