Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/ccompiler/defs/time.h @ 3257:987f995993c3
co80: Use HW port address from descriptor (via SCF and VTIO)
Change the driver code to not use a hardcoded address.
Change the value in the descriptor to the previously
hardcoded value in the driver. Looks like someone was debugging
a WordPak prototype using the cartridge ROM enable output...
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Wed, 29 Aug 2018 08:49:13 +0200 |
parents | 734862561313 |
children |
line wrap: on
line source
/* structure for the 'setime()' and 'getime()' calls */ struct sgtbuf { char t_year, t_month, t_day, t_hour, t_minute, t_second; }; /* system dependent value */ #ifdef LEVEL2 #define tps 100 /* ticks per second */ #else #define tps 10 /* ticks per second */ #endif