;
; ADTPro - Apple Disk Transfer ProDOS
; Copyright (C) 2006 - 2013 by David Schmidt
; 1110325+david-schmidt@users.noreply.github.com
;
; This program is free software; you can redistribute it and/or modify it 
; under the terms of the GNU General Public License as published by the 
; Free Software Foundation; either version 2 of the License, or (at your 
; option) any later version.
;
; This program is distributed in the hope that it will be useful, but 
; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
; for more details.
;
; You should have received a copy of the GNU General Public License along 
; with this program; if not, write to the Free Software Foundation, Inc., 
; 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
;

	.include "sos/interp.asm"	; Interpreter header - INTERP segment
	.include "sos/sosmacros.i"	; OS macros
	.include "sos/sosconst.i"	; OS equates, characters, etc.
	.include "sos/sosvars.asm"	; DATA segment
	.include "sos/ethernet/ethmessages.asm"	; Messages - DATA segment
	.include "../../build/lib/ip65/inc/common.inc"	; More macros - ldax, for example

	.include "main.asm"	; STARTUP segment

;---------------------------------------------------------
; Pull in all the rest of the code
;---------------------------------------------------------
	.include "about.asm"
	.include "sos/rawio.asm"	; Console I/O
	.include "sos/conio.asm"	; Console I/O
	.include "print.asm"
	.include "sos/online.asm"
	.include "sos/rw.asm"
	.include "sr.asm"
	.include "crc.asm"
	.include "pickvol.asm"
	.include "input.asm"
	.include "hostfns.asm"
	.include "prodos/ethernet/ethproto.asm"
	.include "prodos/ethernet/uther.asm"
	.include "sos/ethernet/ethconfig.asm"
	.include "sos/ethernet/ipconfig.asm"
	.include "sos/format.asm"		; FORMAT segment
	.include "bsave.asm"

; Stubs from Disk II-related stuff
ReceiveNib:
GO_TRACK0:
INIT_DISKII:
sendnib:
motoron:
motoroff:
	rts

; Temp storage re-used from nibble code - but didn't exist in SOS version, so claim it here 
RS_TEMP:	.byte $00

; Stubs:
ROM:
DevAdr:
DevList:
DevCnt:
PEND:
TBL_ONLINE:
UNIT:
DEVLST:
DEVICE:
KEYBUFF:
ZDEVCNT:
DEVCNT:
	.segment "DATA"	
