Skip to content

Commit

Permalink
Add clsr & clrln
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mount committed Oct 19, 2021
1 parent ffbad18 commit aa660a8
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
22 changes: 22 additions & 0 deletions content/c64/kernal/os/clrln/_index.html
@@ -0,0 +1,22 @@
---
type: "manual"
title: "CLRLN"
linkTitle: "CLRLN"
description: "Clear the line X"
subtopic: "screen"
categories:
- c64
- kernalAPI
api:
- name: "CLRLN"
addr: "E9FF"
title: "Clear the line X"
---
<div class="printPageBreakAvoid">
<p>
This routine clears the line pointed to by X.
</p>
<div class="alert-warning">
This is not an official documented Kernal entry point but is listed in the C64 ROM disassembly.
</div>
</div>
24 changes: 24 additions & 0 deletions content/c64/kernal/os/clsr/_index.html
@@ -0,0 +1,24 @@
---
type: "manual"
title: "CLSR"
linkTitle: "CLSR"
description: "Clear the screen"
subtopic: "screen"
categories:
- c64
- kernalAPI
api:
- name: "CLSR"
addr: "E544"
title: "Clear the screen"
---
<div class="printPageBreakAvoid">
<p>
This routine sets up the screen line link table (0x00D9&hellip;0x00F2).
It then clears the screen line by line using the <a href="../clrln/">CLRLN</a> routine.
Once that's completed, it then homes the cursor to the top left.
</p>
<div class="alert-warning">
This is not an official documented Kernal entry point but is listed in the C64 ROM disassembly.
</div>
</div>

0 comments on commit aa660a8

Please sign in to comment.