Commit Graph

16 Commits

Author SHA1 Message Date
Bobbi Webber-Manners
a891b08ae8 DATE65: A bit of cleanup. 2020-09-05 01:11:15 -04:00
Bobbi Webber-Manners
680e8c7a0b DATE65: Fixed bug when advancing one hour for DST 2020-09-05 01:06:00 -04:00
Bobbi Webber-Manners
4a5df18e46 EMAIL/DATE65: OA-D in EMAIL invokes DATE65.SYSTEM, which calls EMAIL one exit. 2020-09-04 21:00:21 -04:00
Bobbi Webber-Manners
9c5bc1a270 Fixed a file-reading bug 2020-06-21 02:54:41 -04:00
Bobbi Webber-Manners
6858da9747 Print actual timezone in effect after the date/time 2020-06-21 02:31:08 -04:00
Bobbi Webber-Manners
f12af42b16 Automatically determine if ProDOS 2.5 2020-06-21 02:27:11 -04:00
Bobbi Webber-Manners
da16e97d00 Improvements to date65: auto-DST support, timezones from file 2020-06-21 02:19:12 -04:00
Oliver Schmidt
bbd2906f6f Always return a consistent value. 2020-04-15 21:54:44 +02:00
Oliver Schmidt
6971e9216f Added central error strings. 2020-04-15 14:52:59 +02:00
Oliver Schmidt
4577c2ab19 Removed Ethernet driver I/O base.
So far the base address of the Ethernet chip was a general property of all Ethernet drivers. It served two purposes:
1. Allowing to use a single Ethernet driver for a certain Ethernet chip, no matter what machine was connected to the chip.
2. Allowing use an Ethernet card in all Apple II slots.

However, we now use customized Ethernet drivers for the individual machines so 1.) isn't relevant anymore. In fact one wants to omit the overhead of a runtime-adjustable base address where it isn't needed.

So only the Apple II slots are left. But this should rather be a driver-internal approach then. We should just hand the driver the slot number the user wants to use and have the driver do its thing.

Independently from the aspect if the driver parameter is a base address or a slot number the parameter handling was changed too. For asm programs there was so far a specific init function to be called prior to the main init function if it was desired to chnage the parameter default. This was done to keep the main init function backward compatible. But now that the parameter (now the slot number) is only used on the Apple II anyhow it seems reasonable to drop the specific init function again and just provide the parameter to the main init function. All C64-only user code can stay as-is. Only Apple II user code needs to by adjusted. Please note that this change only affects asm programs, C programs always used a single init function with the Apple II slot number as parameter.
2019-05-02 14:44:24 +02:00
Oliver Schmidt
300ca8626a Make use of clock_settime().
clock_gettime(), clock_settime() and clock_getres() were added to the cc65 C libaries the other day.
2018-08-18 23:28:59 +02:00
Oliver Schmidt
fe215b4eda Added timezone support.
After quite some thoughts it was considered best to simply have the timezone configured in the source code and rebuild if a change is desired/necessary.
2018-08-02 17:37:54 +02:00
Oliver Schmidt
b9d6a92534 Minor beautification. 2018-08-01 19:00:38 +02:00
Oliver Schmidt
5f9fe0ad1e Just some minor code style adjustment. 2018-07-23 22:13:32 +02:00
Oliver Schmidt
8e7454580f Have Date65 set the ProDOS date on the Apple II.
If there's RTC active then the user can at least have the current date set. However, if the machine runs for several days the user needs to re-run Date65.
2018-07-22 15:26:39 +02:00
Oliver Schmidt
989c35e168 Just append the 65-suffix to all cc65/IP65 apps. 2018-02-23 16:52:45 +01:00