Download SitePlayer Software Manual

Transcript
SitePlayer Software Manual
;
; Initial receiver DEFINITIONS
;
;$devicename sets the name or description of the device
$devicename "NetMedia Audio Receiver Demo"
;$DHCP on sets SitePlayer to find its IP address from a DHCP server
$DHCP on
;$DownloadPassword sets password for downloading web pages (and firmware)
$DownloadPassword ""
;$InitialIP sets SitePlayer’s IP address to use if no DHCP server is available
$InitialIP "192.168.1.250"
;$PostIRQ on set SitePlayer to generate a low level IRQ on pin 11
$PostIRQ off
;$Sitefile sets the binary image filename that will be created
$sitefile "C:\Program Files\SitePlayer\rcvr.spb"
;$Sitepath sets the root path of the web pages for this project
$sitepath "C:\Program Files\SitePlayer\SP_Root"
;$Include sets the name of a file to include during make process
$Include "C:\Program Files\SitePlayer\pcadef.inc"
;
; Receiver
;
org 0h
select db
volume db
channel dw
power
OBJECTS
2
0
921
org 0FF15h
db 1
;in this example select=2 is FM
;default the volume low
;a word with the default channel of 92.1
;default off, address is IO4, the green LED
org 248
AM_page
dbit 0
FM_page
dbit 0
Tape_page
dbit 0
CD_page
dbit 0
Aux_page
dbit 0
;decimal numbers are
;set status bit with
;set status bit with
;set status bit with
;set status bit with
;set status bit with
assumed when no h, b, o
AM page submission
FM page submission
Tape page submission
CD page submission
Aux page submission
;
; Other Test OBJECTS
;
org 30h
xytest_x db 0
xytest_y db 0
;x coordinate of xytest graphic
;y coordinate of xytest graphic
;
; Receiver EXPORT filenames
;
;$ExportFormatFile contains format definitions for $ExportFile
$ExportFormatFile "C:\Program Files\SitePlayer\makeHTML.def"
;$ExportHeaderFile contains header information for $ExportFile
$ExportHeaderFile "C:\Program Files\SitePlayer\htmlheader.htm"
;$ExportFooterFile contains footer information for $ExportFile
$ExportFooterFile "C:\Program Files\SitePlayer\htmlfooter.htm"
;$ExportFile sets name of export file created from these definitions
3