Permalink
Commits on Mar 8, 2018
  1. Merge pull request #2449 from oliverschmidt/master

    oliverschmidt committed Mar 8, 2018
    Adjusted to cc65 2.17 which generates AppleSingle files.
Commits on Apr 10, 2017
  1. Merge pull request #2182 from oliverschmidt/master

    oliverschmidt committed Apr 10, 2017
    Adjusted cc65 compiler options to recent cc65 option handling change.
Commits on Mar 18, 2017
  1. Merge pull request #2146 from oliverschmidt/slip

    oliverschmidt committed Mar 18, 2017
    Add SLIP support to retro platforms.
  2. Beautified SLIP macros.

    oliverschmidt committed Mar 18, 2017
  3. Beautified SLIP macros.

    oliverschmidt committed Mar 18, 2017
Commits on Feb 24, 2017
  1. Merge pull request #2118 from oliverschmidt/master

    oliverschmidt committed Feb 24, 2017
    Made rest of Microsoft-specific chat optional.
Commits on Feb 23, 2017
  1. Made rest of Microsoft-specific chat optional.

    oliverschmidt committed Feb 23, 2017
    Made code rest of the code in the SLIP driver optional that takes care of the Microsoft-specific CLIENT / SERVER / CLIENTSERVER chat.
Commits on Feb 15, 2017
  1. Added SLIP support to retro platforms.

    oliverschmidt committed Feb 15, 2017
    The cc65 tool chain comes with V.24 drivers so it seems reasonable to use the existing Contiki SLIP driver to implement network access via SLIP as alternative to Ethernet.
    
    Some notes:
    - The Ethernet configuration was simplified in order to allow share it with SLIP.
    - The Contiki SLIP driver presumes an interrupt driven serial receiver to write into the SLIP buffer. However the cc65 V.24 drivers aren't up to that. Therefore the main loops were extended to pull received data from the V.24 buffers and push it into the SLIP buffer.
    - As far as I understand the serial sender is supposed to block until the data is sent. Therefore a loop calls the non-blocking V.24 driver until the data is sent.
    
    On all platforms there's only one V.24 driver available. Therefore V.24 drivers are always loaded statically.
    
    On the Apple][ the mouse driver is now loaded statically - independently from SLIP vs. Ethernet. After all there's only one mouse driver available. However there's a major benefit with SLIP: Here all drivers are loaded statically. Therefore the dynamic module loader isn't necessary at all. And without the loader the heap manager isn't necessary at all. This allows for a reduction in code size roughly compensating for the size of the SLIP buffer.
Commits on Feb 13, 2017
  1. Merge pull request #2097 from oliverschmidt/master

    oliverschmidt committed Feb 13, 2017
    Removed artifacts of former uip_appdata handling.
Commits on Feb 5, 2017
  1. Removed artifacts of former uip_appdata handling.

    oliverschmidt committed Feb 5, 2017
    Adam Dunkels writes on 2/5/2017 on the Contiki mailing list:
    [...] the original idea was that the application could just point the uip_appdata pointer to wherever the data was, but we then changed it so that the data actually had to be copied into the uip_aligned_buf buffer. So, yes, the network device driver should only need to read from this buffer. [...]
    
    This change removes comments on the possibility of uip_appdata pointing somewhere outside the uip_aligned_buf. And it removes code in the SLIP drivers not necessary anymore.
    
    Additionally it makes code in a SLIP driver optional that takes care of the Microsoft-specific CLIENT / SERVER / CLIENTSERVER chat.
Commits on Jan 27, 2017
  1. Merge pull request #2091 from oliverschmidt/master

    oliverschmidt committed Jan 27, 2017
    Revert to static Ethernet driver for the ATARI.
Commits on Jan 26, 2017
  1. Revert to static Ethernet driver for the ATARI.

    oliverschmidt committed Jan 26, 2017
    After all there's no momentum for a W5100-based Ethernet solution on the ATARI. So I revert to static linkage of the CS8900A driver as this improves program load times.
Commits on Oct 16, 2016
  1. Merge pull request #1889 from oliverschmidt/master

    oliverschmidt committed Oct 16, 2016
    Several retrotarget changes
Commits on Oct 15, 2016
  1. Added custom log function for CBM machines.

    oliverschmidt committed Oct 15, 2016
    The log function writes directly to the screen. Combined with the usage of PFS this means that the POSIX layer of the C library isn't referenced anymore thus reducing the memory requirements.
  2. Added directory functions to the Commodore Platform File System.

    oliverschmidt committed Oct 15, 2016
    They reduce the Telnet server's run size by 1231 bytes.
  3. Avoid unnecessary key presses.

    oliverschmidt committed Oct 15, 2016
    The recently added doesclrscrafterexit() allows cc65 programs to determine if the screen will be cleared after exit(). If that isn't the case then there's no need to ask the user to press a key in order to allow him to read the final program output.
Commits on Oct 11, 2016
  1. Improved dicarding of text in the HTML header.

    oliverschmidt committed Oct 11, 2016
    Plain text in the HTML header (think of <title>text</title>) is collected as usual. The decision to discard it is triggered by the first withspace following. In the usual case of the <body> no preceeded by any whitespace this means that by the point the first whitespace is encountered we're not in "discard mode" anymore and therefore incorrectly render the text.
    
    Explicitly calling do_word() just before leaving "discard mode" discards all text collected so far.
  2. Fixed ProDOS 800kB image.

    oliverschmidt committed Oct 11, 2016
    The 800kB file claimed to be a 32MB image. Now the logical size and pysical size match.
Commits on Jul 6, 2016
  1. Merge pull request #1730 from groessler/something_to_pull

    oliverschmidt committed Jul 6, 2016
    Some 6502 target changes
Commits on Jun 3, 2016
  1. Merge pull request #1706 from oliverschmidt/master

    oliverschmidt committed Jun 3, 2016
    Make use of new cl65 option --print-target-path.
  2. Make use of new cl65 option --print-target-path.

    oliverschmidt committed Jun 3, 2016
    The new cl65 option --print-target-path allows to get rid of CC65_HOME altogether.
Commits on Apr 5, 2016
  1. Merge pull request #1583 from oliverschmidt/master

    oliverschmidt committed Apr 5, 2016
    Added compatibility with W5100 shared access.
  2. Added compatibility with W5100 shared access.

    oliverschmidt committed Apr 5, 2016
    If the setup of socket 0 to 3 with 4+2+1+1KB is detected then the W5100 is _not_ initialized, otherwise it does set up socket 0 and 1 with 4KB each. Either way socket 0 is used - now with 4KB instead of 8KB as before.
Commits on Mar 28, 2016
  1. Merge pull request #1570 from oliverschmidt/master

    oliverschmidt committed Mar 28, 2016
    Several retrocomputing changes.
  2. Added a Contiki version of the CBM exec() system file; it uses PFS in…

    oliverschmidt committed Mar 28, 2016
    …stead of POSIX.
    
    It reduces the webbrowsers' size by 735 bytes.
  3. Activated CBM PFS for the C64 Telnet server.

    oliverschmidt committed Mar 28, 2016
    Now that the CBM PFS supports file removal (and a file seek stub) it is possible to have the Telnet server leverage the IDE64 support of the CBM PFS.
    
    Note: Using the CBM PFS for the Telnet server does _not_ reduce the code size since the POSIX I/O functions are additionally still linked in because the POSIX directory functions internally use the POSIX I/O functions. And that's the very reason why the CBM PFS is _not_ activated for the C128 Telnet server: The CBM PFS for the C128 doesn't bring IDE64 support but is supposed to be used to reduce code size - but this isn't possible for the Telnet server.
  4. Explicitly mark constant as 'unsigned' to avoid unnecessary promotion…

    oliverschmidt committed Mar 28, 2016
    … to 'long'.
    
    Long constants trigger the performance warning "Constant is long" with cc65.
  5. Added a pfs_remove() function and a pfs_seek() stub to the Commodore …

    oliverschmidt committed Mar 28, 2016
    …platforms.
    
    - "Normalized" some Assembly code.
    - Implemented CFS_APPEND in pfs_open().
    - Made CFS_WRITE work in VICE's virtual disk/file system.
Commits on Mar 6, 2016
  1. Merge pull request #1542 from oliverschmidt/master

    oliverschmidt committed Mar 6, 2016
    Adjusted segment names to match recent cc65 change.
Commits on Dec 3, 2015
  1. Fixed C&P error.

    oliverschmidt committed Dec 3, 2015
Commits on Dec 2, 2015