| Previous | 199869 Revisions | Next |
| r21720 Friday 8th March, 2013 at 19:11:56 UTC by hap |
|---|
| (typo) |
| [src/emu/cpu/m6800] | m6800.c |
| [src/emu/cpu/m6805] | m6805.c |
| [src/emu/cpu/m6809] | hd6309.c konami.c m6809.c |
| [src/mame/drivers] | gunpey.c |
| r21719 | r21720 | |
|---|---|---|
| 4 | 4 | |
| 5 | 5 | References: |
| 6 | 6 | |
| 7 | 6809 Simulator V09, By L.C. Benschop, Ei | |
| 7 | 6809 Simulator V09, By L.C. Benschop, Eindhoven The Netherlands. | |
| 8 | 8 | |
| 9 | 9 | m6809: Portable 6809 emulator, DS (6809 code in MAME, derived from |
| 10 | 10 | the 6809 Simulator V09) |
| r21719 | r21720 | |
|---|---|---|
| 4 | 4 | |
| 5 | 5 | References: |
| 6 | 6 | |
| 7 | 6809 Simulator V09, By L.C. Benschop, Ei | |
| 7 | 6809 Simulator V09, By L.C. Benschop, Eindhoven The Netherlands. | |
| 8 | 8 | |
| 9 | 9 | m6809: Portable 6809 emulator, DS (6809 code in MAME, derived from |
| 10 | 10 | the 6809 Simulator V09) |
| r21719 | r21720 | |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | HD63B09EP Technical Reference Guide, by Chet Simpson with addition |
| 11 | 11 | by Alan Dekok |
| 12 | 6809 Simulator V09, By L.C. Benschop, Ei | |
| 12 | 6809 Simulator V09, By L.C. Benschop, Eindhoven The Netherlands. | |
| 13 | 13 | |
| 14 | 14 | m6809: Portable 6809 emulator, DS (6809 code in MAME, derived from |
| 15 | 15 | the 6809 Simulator V09) |
| r21719 | r21720 | |
|---|---|---|
| 10 | 10 | |
| 11 | 11 | References: |
| 12 | 12 | |
| 13 | 6809 Simulator V09, By L.C. Benschop, Ei | |
| 13 | 6809 Simulator V09, By L.C. Benschop, Eindhoven The Netherlands. | |
| 14 | 14 | |
| 15 | 15 | m6809: Portable 6809 emulator, DS (6809 code in MAME, derived from |
| 16 | 16 | the 6809 Simulator V09) |
| r21719 | r21720 | |
|---|---|---|
| 4 | 4 | |
| 5 | 5 | References: |
| 6 | 6 | |
| 7 | 6809 Simulator V09, By L.C. Benschop, Ei | |
| 7 | 6809 Simulator V09, By L.C. Benschop, Eindhoven The Netherlands. | |
| 8 | 8 | |
| 9 | 9 | m6809: Portable 6809 emulator, DS (6809 code in MAME, derived from |
| 10 | 10 | the 6809 Simulator V09) |
| r21719 | r21720 | |
|---|---|---|
| 252 | 252 | int m_zero_bit_count; |
| 253 | 253 | |
| 254 | 254 | void get_stream_next_byte(void); |
| 255 | int get_steam_bit(void); | |
| 255 | int get_stream_bit(void); | |
| 256 | 256 | UINT32 gunpey_state_get_stream_bits(int bits); |
| 257 | 257 | |
| 258 | 258 | int write_dest_byte(UINT8 usedata); |
| r21719 | r21720 | |
| 661 | 661 | m_srcx++; m_scrxcount++; |
| 662 | 662 | } |
| 663 | 663 | |
| 664 | int gunpey_state::get_steam_bit(void) | |
| 664 | int gunpey_state::get_stream_bit(void) | |
| 665 | 665 | { |
| 666 | 666 | if (m_latched_bits_left==0) |
| 667 | 667 | { |
| r21719 | r21720 | |
| 684 | 684 | for (int i=0;i<bits;i++) |
| 685 | 685 | { |
| 686 | 686 | output = output<<1; |
| 687 | output |= get_steam_bit(); | |
| 687 | output |= get_stream_bit(); | |
| 688 | 688 | } |
| 689 | 689 | |
| 690 | 690 | return output; |
| Previous | 199869 Revisions | Next |