Changeset 212bc4c in buchla-emu for emu/cpu.c


Ignore:
Timestamp:
08/02/2017 09:59:46 PM (7 years ago)
Author:
Alexander Heinrich <alex.heinrich@…>
Branches:
master
Children:
52c8401
Parents:
8967dbc
Message:

Add rudimentary timer

Add rudimentary timer that responds to the bios read and write requests
and sends an interrupt, if it has counted to 0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • emu/cpu.c

    r8967dbc r212bc4c  
    7070        { 0x180000, 0x200000, 0, fpu_init, fpu_quit, fpu_exec, fpu_read, fpu_write },
    7171        { 0x200000, 0x280000, 0, vid_init, vid_quit, vid_exec, vid_read, vid_write },
    72         { 0x3a0001, 0x3a4001, 0, tim_init, tim_quit, tim_exec, tim_read, tim_write },
     72        { 0x3a0001, 0x3a4001, 4, tim_init, tim_quit, tim_exec, tim_read, tim_write },
    7373        { 0x3a4001, 0x3a8001, 0, lcd_init, lcd_quit, lcd_exec, lcd_read, lcd_write },
    7474        { 0x3a8001, 0x3ac001, 5, ser_init, ser_quit, ser_exec, ser_read, ser_write },
Note: See TracChangeset for help on using the changeset viewer.