Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
TITLE (ROM BIOS FOR IBM PERSONAL COMPUTER) | |
.MODEL COMPACT | |
OPTION M510 | |
;------------------- | |
;EQUATES | |
;------------------- | |
PORT_A EQU 60H ;8255 PORT A ADDR | |
PORT_B EQU 61H ;8255 PORT B ADDR | |
PORT_C EQU 62H ;8255 PORT C ADDR |
package main | |
import ( | |
"net/url" | |
"regexp" | |
"strings" | |
) | |
// URLRewriter rewrites URL | |
type URLRewriter struct { |
package router | |
import "strings" | |
type trie struct { | |
root trieNode | |
} | |
func newTrie() *trie { | |
return &trie{ |
# Enable Nested Virtualization | |
Set-VMProcessor -VMName <your-vm-name> -ExposeVirtualizationExtensions $true | |
# Set the network adapter for the nested VM by enabling mac address spoofing | |
Get-VMNetworkAdapter -VMName <your-vm-name> | Set-VMNetworkAdapter -MacAddressSpoofing On |
type fixed32 int32 | |
func fromFloat32(f float32) fixed32 { | |
return fixed32((f * float32(1<<16)) + 0.5) | |
} | |
func (f fixed32) Float32() float32 { | |
return float32(f) / float32(1<<16) | |
} |
heap_start .equ 0x9000 ; Starting address of heap | |
heap_size .equ 0x0100 ; Number of bytes available in heap | |
.org 0 | |
jp main | |
.org 0x100 | |
main: | |
ld HL, 0x8100 |
SLDOPT COMMENT WPMEM, LOGPOINT, ASSERTION | |
DEVICE ZXSPECTRUMNEXT | |
CSPECTMAP "demo.map" | |
org $8000 | |
macro farcall fn | |
ld a, $$fn | |
call farstub | |
dw fn |
SLDOPT COMMENT WPMEM, LOGPOINT, ASSERTION | |
DEVICE ZXSPECTRUMNEXT | |
CSPECTMAP "ctctest.map" | |
org $8000 | |
ctc0 equ $183b | |
main: | |
nextreg 7,0 ; set speed |
SLDOPT COMMENT WPMEM, LOGPOINT, ASSERTION | |
DEVICE ZXSPECTRUMNEXT | |
CSPECTMAP "mousedemo.map" | |
org $8000 | |
MouseMinX equ 0 | |
MouseMaxX equ 319 | |
MouseMinY equ 0 | |
MouseMaxY equ 255 |