Commit Graph

294 Commits

Author SHA1 Message Date
jonnosan
58255519a1 git-svn-id: http://svn.code.sf.net/p/netboot65/code@94 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-10 04:08:19 +00:00
jonnosan
18075ccfd3 git-svn-id: http://svn.code.sf.net/p/netboot65/code@93 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-10 04:07:27 +00:00
jonnosan
3ffe25098b simplified NB65 - this is now release candidate for 1.0 of the API definition (although not necessarily the implementation)
git-svn-id: http://svn.code.sf.net/p/netboot65/code@92 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-10 01:19:42 +00:00
jonnosan
ae8a98f8a1 create a RAM stub (at $C000) that user apps can use to detect presence of a banked out NB65 cart, and a routine to request banking the cart back in
git-svn-id: http://svn.code.sf.net/p/netboot65/code@91 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-08 10:24:45 +00:00
jonnosan
49510e86b0 git-svn-id: http://svn.code.sf.net/p/netboot65/code@90 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-06 11:10:49 +00:00
jonnosan
1d4cdace80 git-svn-id: http://svn.code.sf.net/p/netboot65/code@89 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-06 11:09:26 +00:00
jonnosan
391abf4f6d git-svn-id: http://svn.code.sf.net/p/netboot65/code@88 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-06 07:41:28 +00:00
jonnosan
2a938cceed udp send / receive now working via NB65 API
git-svn-id: http://svn.code.sf.net/p/netboot65/code@87 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-06 07:31:45 +00:00
jonnosan
641453ffe9 NB65_GET_INPUT_PACKET_INFO is not quite working yet
git-svn-id: http://svn.code.sf.net/p/netboot65/code@86 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 11:34:20 +00:00
jonnosan
5b5469cb13 added some useful print functions to NB65 API
git-svn-id: http://svn.code.sf.net/p/netboot65/code@85 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 10:10:53 +00:00
jonnosan
c4d3e822ff let dhcp & dns share the same buffer for building outbound packets in (since they don't call each other no chance of overwritting each others data)
git-svn-id: http://svn.code.sf.net/p/netboot65/code@84 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 06:56:41 +00:00
jonnosan
e2a6916c57 let dhcp & dns share the same buffer for building outbound packets in (since they don't call each other no chance of overwritting each others data)
git-svn-id: http://svn.code.sf.net/p/netboot65/code@83 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 06:56:11 +00:00
jonnosan
5ad3240531 move scratch ram to $C000, bank out cart ROMN when running d/led prg - this means can now d/l prgs up to 47K in size.
git-svn-id: http://svn.code.sf.net/p/netboot65/code@82 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 06:46:55 +00:00
jonnosan
96886b84f6 git-svn-id: http://svn.code.sf.net/p/netboot65/code@81 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-05 02:47:08 +00:00
jonnosan
141f82e863 added NB65_UNHOOK_VBL_IRQ function
git-svn-id: http://svn.code.sf.net/p/netboot65/code@80 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 02:46:32 +00:00
jonnosan
3b27622f43 free up 4k (BSS moves from $6000 to $7000)
git-svn-id: http://svn.code.sf.net/p/netboot65/code@79 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 02:45:13 +00:00
jonnosan
32d24705bf reduce ram required for output buffer
git-svn-id: http://svn.code.sf.net/p/netboot65/code@78 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-05 00:39:34 +00:00
jonnosan
71f9fe4ec7 git-svn-id: http://svn.code.sf.net/p/netboot65/code@77 93682198-c243-4bdb-bd91-e943c89aac3b 2009-04-04 05:14:37 +00:00
jonnosan
823385fc7e - add dispatchers for DNS_RESOLVE, UDP_ADD_LISTENER
- set up IRQ handler

git-svn-id: http://svn.code.sf.net/p/netboot65/code@76 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-04 05:14:06 +00:00
jonnosan
40563778f0 RAM segment now 7FF..5FFF
git-svn-id: http://svn.code.sf.net/p/netboot65/code@75 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-04 05:12:54 +00:00
jonnosan
295a7cfa56 set ip65_error whenever returning an error
git-svn-id: http://svn.code.sf.net/p/netboot65/code@74 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-04 04:45:54 +00:00
jonnosan
8d55a1da9f set ip65_error on timeout
git-svn-id: http://svn.code.sf.net/p/netboot65/code@73 93682198-c243-4bdb-bd91-e943c89aac3b
2009-04-04 04:44:06 +00:00
jonnosan
27df47e41a git-svn-id: http://svn.code.sf.net/p/netboot65/code@72 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-28 13:58:41 +00:00
jonnosan
38c474bbef git-svn-id: http://svn.code.sf.net/p/netboot65/code@71 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-28 13:01:36 +00:00
jonnosan
37c20faa6f nb65 API now mostly working for dhcp+tftp
git-svn-id: http://svn.code.sf.net/p/netboot65/code@70 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-28 12:57:24 +00:00
jonnosan
56f91f56fe added global ip65_error variable
git-svn-id: http://svn.code.sf.net/p/netboot65/code@69 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-28 11:26:03 +00:00
jonnosan
caff1cd686 git-svn-id: http://svn.code.sf.net/p/netboot65/code@68 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-28 09:59:53 +00:00
jonnosan
1b29cfbfd0 moved dhcp_server symbol from dhcp.s to config.s, so it can be included in the "ip configuration" structure for export to the NB65 API
git-svn-id: http://svn.code.sf.net/p/netboot65/code@67 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-28 09:47:14 +00:00
jonnosan
b9afc2c949 very early (and not at all working) function dispatcher (instead of jump table).
git-svn-id: http://svn.code.sf.net/p/netboot65/code@66 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-28 06:13:14 +00:00
jonnosan
13f277ef44 timer now uses 60hz IRQ handler, rather than CIA
git-svn-id: http://svn.code.sf.net/p/netboot65/code@65 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-28 02:06:49 +00:00
jonnosan
336117a834 rough cut of jump table
git-svn-id: http://svn.code.sf.net/p/netboot65/code@64 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-27 13:19:05 +00:00
jonnosan
3d4ee4ecf2 print size of unmodified bin file
git-svn-id: http://svn.code.sf.net/p/netboot65/code@63 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-27 13:16:58 +00:00
jonnosan
02338db04a add keycodes for function keys
git-svn-id: http://svn.code.sf.net/p/netboot65/code@62 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-27 13:16:10 +00:00
jonnosan
71035ea9e4 added facility for user-defined callbacks when data arrives from tftp server
git-svn-id: http://svn.code.sf.net/p/netboot65/code@61 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-27 12:13:13 +00:00
jonnosan
03472de9f8 add "write request" (file upload) support to tftp server
git-svn-id: http://svn.code.sf.net/p/netboot65/code@60 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 10:09:17 +00:00
jonnosan
e767c2918b refactor README docs to be per-platform
git-svn-id: http://svn.code.sf.net/p/netboot65/code@59 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 04:07:13 +00:00
jonnosan
e9492e78f3 git-svn-id: http://svn.code.sf.net/p/netboot65/code@58 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-26 04:05:19 +00:00
jonnosan
ffe7a77b72 add script to auto-create ip65 library docs
git-svn-id: http://svn.code.sf.net/p/netboot65/code@57 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 04:03:48 +00:00
jonnosan
b150b77ee3 allow wildcards in source file definitions
git-svn-id: http://svn.code.sf.net/p/netboot65/code@56 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 03:46:30 +00:00
jonnosan
4c9aa12099 git-svn-id: http://svn.code.sf.net/p/netboot65/code@55 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-26 03:45:49 +00:00
jonnosan
f8d438ee8b include 'dist-ip65' in default build
git-svn-id: http://svn.code.sf.net/p/netboot65/code@54 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 03:45:14 +00:00
jonnosan
01af510dfd bugfix: was not sending a final (empty) packet if the file to send was an exact multiple of 512 bytes - without this packet, the client doesn't know the file has finished downloading
git-svn-id: http://svn.code.sf.net/p/netboot65/code@53 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 03:40:16 +00:00
jonnosan
a75eb83f10 add a pause to allow DHCP assigned config to be viewed
git-svn-id: http://svn.code.sf.net/p/netboot65/code@52 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 03:32:04 +00:00
jonnosan
5bbfc52707 fix navigation through directory listings on C64
git-svn-id: http://svn.code.sf.net/p/netboot65/code@51 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 03:17:47 +00:00
jonnosan
991381c393 default filename to 'bootc64.prg' if tftp server doesn't support proprietary directory listing opcode
git-svn-id: http://svn.code.sf.net/p/netboot65/code@50 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 01:00:12 +00:00
jonnosan
69cd7ba69e now displays an error message and gracefully exits if DHCP or TFTP fails (rather than crashing)
git-svn-id: http://svn.code.sf.net/p/netboot65/code@49 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-26 00:43:35 +00:00
jonnosan
647a0047da git-svn-id: http://svn.code.sf.net/p/netboot65/code@48 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-26 00:15:17 +00:00
jonnosan
c8ca3100d6 git-svn-id: http://svn.code.sf.net/p/netboot65/code@47 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-24 08:52:36 +00:00
david__schmidt
d3a9d010ab Adding some requirements as I try to get an environment set up
git-svn-id: http://svn.code.sf.net/p/netboot65/code@46 93682198-c243-4bdb-bd91-e943c89aac3b
2009-03-22 00:08:36 +00:00
jonnosan
e3e22ba41c git-svn-id: http://svn.code.sf.net/p/netboot65/code@45 93682198-c243-4bdb-bd91-e943c89aac3b 2009-03-21 06:40:53 +00:00