-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCML Specification
More file actions
44 lines (34 loc) · 1.77 KB
/
CML Specification
File metadata and controls
44 lines (34 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Adding some CML to your existing page? Let's trade links!
My contact email address can be found inside of Link (4)
on the CML homepage when loaded from a C64.
Stage 1: Initial CML Text Specifications
Stage 1 functions are complete.
<FC#> 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F POKE 646,#
<FR> Font reverse
<FN> Font Normal
<CLS> Clear screen print chr$(147)
<SC#> 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F POKE 53281,#
<BC#> 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F POKE 53280,#
<BR> Carriage Return PRINT
<TB#> 1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Set C64 Ultimate Turbo Speed
<HL#={url}> 1,2,3,4,5,6,7,8,9 Up to 9 URL hyperlinks
<PK={address},{data}> Access to POKE for sprites & sound
<MPK={address},{data},{data},{data},{data},{data},{data},{data},{data},{data},{data}>
MPK will allow multiple data POKEs to be done, incrementing from a starting address.
(lines need to be limited to less than 255 characters.)
Note: When using MPK to load sprites, it is best practice to use different sprite
data pointers for sprites from page to page.
Sprite data pointers are located at (2040-2047)
Hyperlinks to pages are case sensative as the Commodore sends uppercase characters.
This may cause issues with some webservers, causing you to need to rename them PAGE.HTM file in uppercase.
See hyperlink example in the source code of https://www.gunstar.one.
...
PETSCII.seq files are now supported with some minor preperation.
Files must contain a header with:
<html>
<!--
Files must contain a footer with:
-->
</html>
This can be done in linux with the CAT command to combine header,petscii,footer files.
Upload the files with .HTM extension for web server compatibility.