Commit 8ac9338e authored by Steve Revill's avatar Steve Revill
Browse files

Added some bits for the S3CDev build. May or may not be correct!

Version 0.35. Tagged as 'ABRelease-0_35'
parent 37ba937a
scsi
basic
10REM Turn off alignment exceptions on ARMv7 machines
20DIM code% 256
30P%=code%
40[ OPT 0
50SWI "OS_EnterOS"
60MRC CP15,0,R0,C1,C0,0
70BIC R0,R0,#2
80MCR CP15,0,R0,C1,C0,0
90MSR CPSR_c,#&10
100MOV PC,R14
110]
120CALL code%
*changedynamicarea -ramfssize 32m
*ram
SAVE"RAM::RamDisc0.$.AOff"
10REM Turn on alignment exceptions on ARMv7 machines
70ORR R0,R0,#2
SAVE"RAM::RamDisc0.$.AOn"
*scsi
NEW
10REM Create and save a text file of instructions
20:
30REM Assumes a RAM disc is present
40:
50ONERRORCLOSE#x:REPORT:PRINT" at line ";ERL:END
60READline$
70x=OPENOUT"RAM::RamDisc0.$.HD4Instruct"
80WHILE line$<>""
90BPUT#x,line$
100READline$
110ENDWHILE
120CLOSE#x
130*settype RAM::RamDisc0.$.HD4instruct &fff
140END
150:
1000DATA" Creating your HardDisc4 boot disc"
1010DATA" ================================="
1020DATA" "
1030DATA"1. Connect the new device you want to format, and"
1040DATA" note its drive number on the icon bar."
1050DATA"2. Unplug the FAT formatted device you used to get"
1060DATA" to this point, if you wish."
1070DATA"3. To reformat this new device, run HForm from"
1080DATA" its shortcut placed on the Pinboard."
1090DATA"4. In the RAM::RamDisc0.$.HardDisc4 directory"
1100DATA" display, click Menu -> Select all."
1110DATA"5. Drag the selection onto the iconbar drive icon"
1120DATA" for the newly formatted device."
1130DATA"6. When copying is complete (i.e. Copying files"
1140DATA" window disappears), click Menu -> Dismount on"
1150DATA" the iconbar drive icon."
1160DATA"7. You are now free to restart the machine, which"
1170DATA" will boot from the newly installed HardDisc4"
1180DATA" !Boot sequence."
1190DATA""
RUN
NEW
10REM Run self-extracting HardDisc4 image
20REM which provides the !Boot sequence and
30REM FileCore formatter
40:
50REM Assumes a RAM disc of minimum size 32MB is present
60:
70*copy SCSI::0.HardDisc4/util RAM::RamDisc0.$.HD4 ~c
80*dismount :0
90*settype RAM::RamDisc0.$.HD4 &ffc
100*key0|m*delete RAM::RamDisc0.$.HD4|m*pin RAM::RamDisc0.$.HardDisc4.Utilities.Caution.!HForm 32 152|m*filer_opendir RAM::RamDisc0.$|m*filer_opendir RAM::RamDisc0.$.HardDisc4|m*filer_run RAM::RamDisc0.$.HD4instruct|m
110*key1|m|m|m|m|m|mREM **********************|mREM * Finished. *|mREM * You may safely *|mREM * CLOSE this window. *|mREM **********************|m|mQUIT|mshellcli_taskquit|m
120*fx15,0
130*fx138,0,128
140*fx138,0,129
150*ram
160*/ RAM::RamDisc0.$.HD4
RUN
RISC OS Open Release Archive
============================
This is the S3C2440/S3C6410 development ROM image. It is a bleeding-edge
build which comes from the latest revisions of all the relevant sources in
our source code repository and is completely untested.
Using this ROM image in your machine should only be done if you are confident
that you know what you are doing! It is likely to be functionally incomplete
and probably unstable in various ways.
Some components in this archive are released under the licence (included in
this archive as Licence_v1.pdf), or see:
http://www.castle-technology.co.uk/riscosbaselicence.htm
-- RISC OS Open
| Copyright 2012 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| Set up and/or override some system variables
Set ab_local$zip rom-s3c-dev/zip
| Remove any old crud from our resources directory
x Wipe <ab_res$dir>.zip ~cfr~v
Remove <ab_res$dir>.<ab_local$zip>
| Copyright 2012 Castle Technology Ltd
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
|
| If there is no ROM image (e.g. the build failed), exit here
IfThere <Build$Dir>.Images.<Build$ImageName> Then Else Obey
| Run our clean script
Run <ab_res$dir>.clean
| Create an empty directory to hold the files that will be zipped up
CDir <ab_res$dir>.zip
| Copy the Castle licence file into the zip directory
Copy ab_res:Licence_v1/pdf <ab_res$dir>.zip.Licence_v1/pdf ~cf~r~v
| Copy the ReadMe for this build into the zip directory
Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
| Compress the ROM image into the zip directory
Do rompress -vZ <Build$Dir>.Images.<Build$ImageName> <ab_res$dir>.zip.riscos
| Copy !SDCreate into the zip directory
Copy <Install$Dir>.ABRelease.!SDCreate <ab_res$dir>.zip.!SDCreate ~cfr~v
| Copy the InstallHD4 script into the zip directory
Copy ab_res:InstallHD4 <ab_res$dir>.zip.InstallHD4 ~cf~r~v
| Set the zip directory as the current directory
Dir <ab_res$dir>.zip
| Create a zip archive with the required files in it
Do zip -9qr ^.<ab_local$zip> *
| Return the CSD to its original state
Back
| Delete any pre-existing zip archive on the autobuild server
Remove <ab_zip$file>
| Copy the template zip archive onto the autobuild server
SetType <ab_res$dir>.<ab_local$zip> &A91
Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
Access <ab_zip$file> rw/r
\ No newline at end of file
/* (0.34)
/* (0.35)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.34
#define Module_MajorVersion_CMHG 0.35
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 29 Feb 2012
#define Module_Date_CMHG 15 Apr 2012
#define Module_MajorVersion "0.34"
#define Module_Version 34
#define Module_MajorVersion "0.35"
#define Module_Version 35
#define Module_MinorVersion ""
#define Module_Date "29 Feb 2012"
#define Module_Date "15 Apr 2012"
#define Module_ApplicationDate "29-Feb-12"
#define Module_ApplicationDate "15-Apr-12"
#define Module_ComponentName "ABRelease"
#define Module_ComponentPath "castle/RiscOS/Utilities/Autobuild/ABRelease"
#define Module_FullVersion "0.34"
#define Module_HelpVersion "0.34 (29 Feb 2012)"
#define Module_LibraryVersionInfo "0:34"
#define Module_FullVersion "0.35"
#define Module_HelpVersion "0.35 (15 Apr 2012)"
#define Module_LibraryVersionInfo "0:35"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment