forked from sy2002/MiSTer2MEGA65
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is part of issue #103. Changes to CORE: * Instantiate MiSTer file rtcF83 and connect to tape port. This is used by the GEOS software. Changes to M2M: * Add i2c_controller.vhd. This allows QNICE firmware to communicate with any I2C device, via the framework device ID C_DEV_I2C. Interconnection between CORE and M2M: With this commit, the CORE expects the current date/time to be delivered via the QNICE general purpose register main_qnice_gp_reg_i. TODO: The QNICE firmware should (after reset) read the current date/time from the RTC device (the actual I2C address and register map is board dependent), and then write the date/time value in this generic format: -- Contents of RTC (see user_io.cpp in Main_MiSTer): -- Bits 7 - 0 : Seconds (BCD format, 0x00-0x60) -- Bits 15 - 8 : Minutes (BCD format, 0x00-0x59) -- Bits 23 - 16 : Hours (BCD format, 0x00-0x23) -- Bits 31 - 24 : DayOfMonth (BCD format, 0x01-0x31) -- Bits 39 - 32 : Month (BCD format, 0x01-0x12) -- Bits 47 - 40 : Year (BCD format, 0x00-0x99) -- Bits 55 - 48 : DayOfWeek (0x00-0x06) -- Bits 63 - 56 : 0x40 -- Bit 64 : Toggle flag. Flip whenever the values are changed
- Loading branch information
Showing
13 changed files
with
766 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.