Hi, Some years ago I planned to implement C library support on the Apple //e for switching to 80 col mode and back. I asked Uz if I should implement the existing C128 API toggle_videomode(). Uz told me that he was quite unhappy with toggle_videomode() - for obvious reasons - and that I should rather follow the style of i.e. textcolor(): One parameter and the return value giving the previous setting. As 80 col mode switching is the feature asked most for on the Apple //e I'm about to implement it now for the upcoming cc65 release. So it makes sense to replace the exsisting toggle_videomode() with the "new" API on the C128 too. As far as I understand ZP location $D7 ('mode') allows to determine the current setting so this seems very easy to do. Anyway I'd prefer this change being made by a "regular" CBM contributor. From my perspective the actual "new" API could look like this: unsigned char __fastcall__ videomode (unsigned char mode); #define VIDEOMODE_40COL 0x?? #define VIDEOMODE_80COL 0x?? Thanks in advance, Oliver ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Sun, 6 Sep 2009 23:55:21 +0200
This archive was generated by hypermail 2.1.8 : 2009-09-06 23:55:30 CEST