;
; CokeOS v3
; by Bret Victor, '99
; bret@ugcs.caltech.edu
;
; Nobody outside of Caltech can use or transfer this code without permission.
;
; coke.asm --  
;  This is a top-level file that sets up the vector table and includes
;  the kernel and the resource loader.
;

VERSIONSTRING equ "Coke v3.05"

	include <coke/coke.inc>
	include	<coke/sysmem.inc>

	ifnconst __module
	org	COKESTART
	endif

JumpTable
	jmp	Startup
	jmp	GetChar
	jmp	SendMessage
	jmp	InstallCommand
	jmp	InstallCommandTable
	jmp	RemoveCommand
	jmp	RemoveCommandTable
	jmp	SetTimer
	jmp	RemoveTimer
	jmp	InstallHook
	jmp	RemoveHook
	jmp	RegisterIPC
	jmp	UnregisterIPC
	jmp	CallIPC
	jmp	InvokeCommand
	jmp	InvokeCommandMem
	jmp	reserved
	jmp	reserved
	jmp	reserved
	jmp	reserved

	jmp	GetFreeSpace
	jmp	CreateResource
	jmp	GetResource
	jmp	GetLength
	jmp	GetAttributes
	jmp	SetAttributes
	jmp	FreeResources
	jmp	reserved
	jmp	reserved
	jmp	reserved
	jmp	reserved
	jmp	reserved

reserved
	rts

StartOfCode

	include kernel.asm
	include resource.asm

EndOfCode
	ds	1


