Commit Graph

363 Commits

Author SHA1 Message Date
Oliver Schmidt
6178e51148 Fixed hardware detection.
The previous chip detection was inspired by the old IP65 driver code. For some reason it didn't work as expected. The new code is simpler and based on this statement in the chip datasheet: "The upper byte always reads as 33h and can be used to help determine the I/O location of the LAN91C96."
2014-07-12 11:27:01 +02:00
Oliver Schmidt
a0bd7e819a Replaced custom zeropage variables with cc65 default zeropage variables. 2014-07-07 20:56:21 +02:00
Oliver Schmidt
4c0ae26c19 1. Replaced IP65 Ethernet drivers with Contiki drivers.
* CS8900A
The Contiki driver allows to adjust the chip base addr at runtime (which  allows to support different slots in the Apple II) and removes received frames from the chip if there's no room to send frames.

* LAN91C96
The Contiki driver was used by IP65 more or less unchanged in the first place.

* W5100
The Contiki driver allows to adjust the chip base addr at runtime (which  allows to support different slots in the Apple II) and stays clear from the W5100 hybrid mode. It presumes a fully functional W5100 register auto-increment and pre-calculates necessary W5100 frame buffer wrap-arounds and thus achieves the maximal 6502 <-> W5100 transfer speed.
2014-06-13 00:00:53 +02:00
Oliver Schmidt
f5c634bf59 Don't crash intentionally ;-)
I have no idea why this BRK was put there in the first place. At least nowadays it's pretty common to see IP packets that IP65 doesn't understand / need to understand. Just think of IGMP packets. We certainly don't want to crash on receiving those!
2014-06-12 21:31:05 +02:00
Oliver Schmidt
09cf63e533 Updated contributors. 2014-04-28 18:57:13 +02:00
Oliver Schmidt
c95574cff8 Removed libnet experiment. 2014-04-28 18:54:43 +02:00
Oliver Schmidt
c4804c4eee Improved file name consistency. 2014-04-28 18:50:02 +02:00
Oliver Schmidt
dbf6fe00a0 Removed custom linker config files. 2014-04-28 18:41:54 +02:00
Oliver Schmidt
3659c49430 Fixed recently introduced addressing mode bugs. 2014-04-28 18:34:56 +02:00
Oliver Schmidt
09c718b74f Removed explicit copying of defaults.
It's the very purpose of the DATA segment to consolidate all items that potentially need to be copied from ROM to RAM. So there's no need to / point in doing that on a per-item-base.
2014-04-27 19:17:48 +02:00
Oliver Schmidt
3af8fadbef Removed several custom segments. 2014-04-27 18:59:58 +02:00
Oliver Schmidt
344383b1af Removed support for ROM/Cart API. 2014-04-27 18:51:16 +02:00
Oliver Schmidt
399aa47608 Removed address constants and HTTP_VARS segment. 2014-04-27 18:15:10 +02:00
Oliver Schmidt
ca5c0d5998 Removed file i/o dependencies from Web server. 2014-04-27 17:48:51 +02:00
Oliver Schmidt
b093d71261 Converted web server test from KIPPER Cart to "classic" IP65 program. 2014-04-27 17:47:07 +02:00
Oliver Schmidt
93c33c71c1 Added A2 and VIC20 binaries. 2014-04-27 14:52:31 +02:00
Oliver Schmidt
8f8c90feb9 Minor style cleanup. 2014-04-13 18:48:11 +02:00
Oliver Schmidt
636d340b5f Added A2 'timer_seconds' dummy.
The implementation just always returns 0 thus actually disabling timeouts.
2014-04-13 18:47:13 +02:00
Oliver Schmidt
bfcd653a00 Adjusted names in license text. 2014-04-13 18:36:04 +02:00
Oliver Schmidt
7399a60725 Added W5100 UDP driver.
This file isn't technically related to ip65. It uses the W5100 IP stack to implement UDP frame RX/TX. The code heavily optimized for size (in contrast to speed).
2014-02-27 22:00:07 +01:00
Oliver Schmidt
79028c849b Allow all test programs to run on the VIC20:
- Added exit_to_basic symbol.
- Aligned linker config with C64 linker config.
- Made switch to lower charset compatible.

Allow all test programs to run with LANceGS card.

Aligned C64 input file name.
2013-12-29 23:39:35 +01:00
Oliver Schmidt
4a695f97cc General source code cleanup.
- Tab chars were partially used with the unusual width of two blanks. I removed them altogether.
- Line endings were inconsistent even iniside individual files. I normalized them.
- I introduced a consistent coding style regarding comment indenting and blank line usage.
- I removed trailing spaces.
- I removed newlines following unnamed labels.
- ...
2013-12-27 14:57:56 +01:00
Oliver Schmidt
68e869617b Some more cleanup.
- Removed VT100 font belonging to NETBOOT65.
- Removed machine / cart specific tests.
- Have Makefiles ignore errors on the clean goal.
2013-12-27 14:48:16 +01:00
Oliver Schmidt
adfd056abd Simplified test program sources by using exe headers from cc65 libs. 2013-12-19 22:04:19 +01:00
Oliver Schmidt
7b5522ba27 Removed several files that seem to rather belong to NETBOO65. 2013-12-17 22:28:49 +01:00
Oliver Schmidt
0069b355d8 Keep Git status clean of build artifacts. 2013-12-15 22:51:48 +01:00
Oliver Schmidt
624ab62d25 Some test program cleanup.
- Simplify Makefile by allowing to use suffix '_tcp' to denote the requirement to link against TCP-capable IP65 lib.
- Remove 'test' or 'test_' prefix from test program names - every program in 'test' is a test program.
- Have some more test programs switch to lower case charset on the C64.
- I'm no Ruby guy so don't rely on Ruby for building disk images.
2013-12-15 22:50:01 +01:00
Oliver Schmidt
d431ff02ce Move A2 load address from $7FD to $800 to allow loading with A2 ProDOS. 2013-12-15 22:42:45 +01:00
Oliver Schmidt
5bcc178c2a Added text files from doc directory. 2013-12-14 00:27:32 +01:00
Oliver Schmidt
9197cd8ede Distilled IP65 out of NETBOOT65. 2013-12-13 22:24:03 +01:00
jonnosan
3d79a99023 now correct
git-svn-id: http://svn.code.sf.net/p/netboot65/code@333 93682198-c243-4bdb-bd91-e943c89aac3b
2013-04-13 11:33:54 +00:00
jonnosan
2dd9feee33 refactor to allow more granular allocation of zero page variables
git-svn-id: http://svn.code.sf.net/p/netboot65/code@332 93682198-c243-4bdb-bd91-e943c89aac3b
2013-04-12 09:28:49 +00:00
jonnosan
4b3d48dac7 tweak after migrated
git-svn-id: http://svn.code.sf.net/p/netboot65/code@331 93682198-c243-4bdb-bd91-e943c89aac3b
2013-04-10 09:39:19 +00:00
jonnosan
610aaef3ee commence A2 basic client
git-svn-id: http://svn.code.sf.net/p/netboot65/code@330 93682198-c243-4bdb-bd91-e943c89aac3b
2013-04-10 08:37:05 +00:00
jonnosan
ebca797206 git-svn-id: http://svn.code.sf.net/p/netboot65/code@329 93682198-c243-4bdb-bd91-e943c89aac3b 2012-11-02 11:29:39 +00:00
jonnosan
49d163c050 start of C bindings
git-svn-id: http://svn.code.sf.net/p/netboot65/code@328 93682198-c243-4bdb-bd91-e943c89aac3b
2012-01-15 04:59:59 +00:00
jonnosan
203de9bcda git-svn-id: http://svn.code.sf.net/p/netboot65/code@327 93682198-c243-4bdb-bd91-e943c89aac3b 2012-01-13 10:13:28 +00:00
jonnosan
1b8430c814 git-svn-id: http://svn.code.sf.net/p/netboot65/code@326 93682198-c243-4bdb-bd91-e943c89aac3b 2012-01-13 10:09:28 +00:00
jonnosan
9821cf7e95 resurrect sntp
git-svn-id: http://svn.code.sf.net/p/netboot65/code@325 93682198-c243-4bdb-bd91-e943c89aac3b
2012-01-12 09:43:40 +00:00
jonnosan
ea18bde291 git-svn-id: http://svn.code.sf.net/p/netboot65/code@324 93682198-c243-4bdb-bd91-e943c89aac3b 2011-07-25 10:54:46 +00:00
jonnosan
1e23405c32 added SRAM tests
git-svn-id: http://svn.code.sf.net/p/netboot65/code@323 93682198-c243-4bdb-bd91-e943c89aac3b
2011-07-23 23:24:24 +00:00
jonnosan
763e2af27d git-svn-id: http://svn.code.sf.net/p/netboot65/code@322 93682198-c243-4bdb-bd91-e943c89aac3b 2011-07-23 13:13:34 +00:00
jonnosan
a62a54ee80 git-svn-id: http://svn.code.sf.net/p/netboot65/code@321 93682198-c243-4bdb-bd91-e943c89aac3b 2011-07-20 10:10:54 +00:00
jonnosan
6f5ba6c68e git-svn-id: http://svn.code.sf.net/p/netboot65/code@320 93682198-c243-4bdb-bd91-e943c89aac3b 2011-07-17 11:02:29 +00:00
jonnosan
e7b042efdc allow flashing of MK3 EEPROM
git-svn-id: http://svn.code.sf.net/p/netboot65/code@319 93682198-c243-4bdb-bd91-e943c89aac3b
2011-07-17 08:14:08 +00:00
jonnosan
c006b14720 git-svn-id: http://svn.code.sf.net/p/netboot65/code@318 93682198-c243-4bdb-bd91-e943c89aac3b 2011-07-04 18:51:51 +00:00
jonnosan
3d8a17b9f6 git-svn-id: http://svn.code.sf.net/p/netboot65/code@317 93682198-c243-4bdb-bd91-e943c89aac3b 2011-06-21 11:46:33 +00:00
jonnosan
787d5fcdef git-svn-id: http://svn.code.sf.net/p/netboot65/code@316 93682198-c243-4bdb-bd91-e943c89aac3b 2011-06-10 12:11:05 +00:00
jonnosan
f2b956f7ea telnet works for WizNet
git-svn-id: http://svn.code.sf.net/p/netboot65/code@315 93682198-c243-4bdb-bd91-e943c89aac3b
2011-06-10 00:01:26 +00:00
jonnosan
d771145e19 w5100 driver now uses fixed I/O addresses and autoincrement addressing mode : result is 50% speedup in tftp
git-svn-id: http://svn.code.sf.net/p/netboot65/code@314 93682198-c243-4bdb-bd91-e943c89aac3b
2011-05-29 09:54:23 +00:00