Network Flyer Cheat Sheet

ADVERTISEMENT

Network Flyer Cheat Sheet
Upda ng Firmware
Misc. Commands
Get list of updates
Load”$^”,7
Directory of built-in soGware
Load”$1”,10
Get verbose list of updates
Load”$^:*,v”,7
Load built-in Config Program
Load”1:config”,10
Download latest firmware
Load”^:*”,7
Disk Management
Download specific firmware
Load”^:1.1.7”,7
Flyer Cached Disk Images
Load”$$”,7
Program Access
list
Load program
Load”program”,7
Adding a disk
Open7,7,15
Print#7,”disk-add:d64,disk label”
Save program
Save”program”,7
Close 7
Save OVER program
Save”@:program”,7
Relabel a disk
Open7,7,15
Lis ng Programs and Disks
Print#7,”disk-relabel:INDEX=new name”
Close 7
List ALL programs and disks
Load”$”,7
Remove a disk
Open7,7,15
Wildcard List
Load”$;PET*”,7
Print#7,”disk-scratch:INDEX”
Close 7
Configura on
Remove ALL disks
Open7,7,15
Print#7,”disk-wipe:”
Open 7,7,15
close7
Print #7,”config:se ng=value”
Input #7, a,b$,c,d
INDEX
Index is the index of the disk to perform
Close 7
the operaKon on. Indices are displayed to
the leG when lisKng the directory.
Network Configura on Se ngs
Disk Access
Se ng
Descrip on
Example
Upload disk from flyer to server
save”disk;PET Games”,7
IP
IP Address
Print #7,”config:ip=192.168.1.10”
Upload disk from flyer to server
Save”@disk:PET Games”,7
OVERWRITING exisKng disk
SUBNETMASK
Subnet Mask
Print #7,”config:su=255.255.255.0”
Download disk from server to flyer
Load”disk:PET Games”,7
GATEWAY
Gateway Addr
Print #7,”config:ga=192.168.1.1”
DNS
DNS Server
Print #7,”config:dn=8.8.8.8”
Sample program / server code
FIRMWARESERVER
Firmware Server
Print #7,”config:fi=retroswitch%2ecom”
10 open7,7,15
* URL Encoded
20 open2,7,2,
DHCP
DHCP Enable/Disable
Print #7,”config;dh=1”
30 print#7,”hDp-post:2,username=slappy”
40 print#7,”hDp-post:2,password=dagnabbit”
* 0/1—disable/enable
50 print#2,”This is some generic data. ”
Alias Configura on Se ngs
60 print#2,”This is some more generic data.”
70 print#7,”hDp-transact:2”
80 input#2,a$
Se ng
Descrip on
Example
90 close2:close7
100 print “Response: “;a$
A0—A3
Alias Values
Print #7,”config:a0=hDp%3aserver%2ecom%2f”
*URL Encoded
<?php
require_once 'Retroswitch.inc.php';
CLDNAM0-CLDNAM3
Cloud Server 0-3 Name
Print#7,”config:cldnam0=CommOnln”
$username = isset( $_POST['username'] ) ?
*URL Encoded
Retroswitch::PetsciiToAscii( $_POST['username'] ) : "";
$password = isset( $_POST['password'] ) ?
CLDSRV0-CLDSRV3
Cloud Server 0-3 Addr
Print#7,”config:cldsrv0=retroswitch%2ecom”
Retroswitch::PetsciiToAscii( $_POST['password'] ) : "";
* URL Encoded
if( strcmp( $username, "slappy" ) || strcmp( $password, "dagnabbit" ) )
CLDUSR0-CLDSRV3
Cloud Server 0-3 Username
Print#7,”config:cldusr0=bobo”
{
echo Retroswitch::AsciiToPetscii( "Not Authorized" );
* URL Encoded
exit;
CLDPWD0-CLDPWD3
Cloud Server 0-3 Password
Print#7,”config:cldpwd0=bananas”
}
* URL Encoded
if( isset( $_FILES['data'] ) )
{
Using an Alias
$data = file_get_contents( $_FILES['data']['tmp_name'] );
// Strip delimiters from our data (replace with spaces) so we can
// return it in one chunk for tesKng...
Before Alias
,7
$data = str_replace( array( ",", "\n", "\r" ), " ", $data );
Configure Alias
Open 7,7,15
echo $data;
Print#7,”config;a2=hDp%3amyserver%2ecom%2fprograms%2f”
exit;
}
Close 7
echo Retroswitch::AsciiToPetscii( "No Data" );
AGer Alias Configured Load”a2:somefile.prg”,7
?>

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go