mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-21 07:33:14 +00:00
updated nightwatch
This commit is contained in:
parent
30e66fa26c
commit
fc767a6e1f
809
package-lock.json
generated
809
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -54,10 +54,10 @@
|
||||
"typescript-formatter": "^7.2.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"chromedriver": "^97.0.1",
|
||||
"chromedriver": "*",
|
||||
"heapdump": "^0.3.15",
|
||||
"jsfuzz": "^1.0.14",
|
||||
"nightwatch": "^2.0.5",
|
||||
"nightwatch": "*",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"rgbquant": "^1.1.2",
|
||||
"typedoc": "^0.22.11"
|
||||
|
42
presets/c64/hello.dasm
Normal file
42
presets/c64/hello.dasm
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
include "cartheader.dasm"
|
||||
|
||||
; program start
|
||||
Temp equ $03
|
||||
|
||||
Start
|
||||
jsr $FF81 ; CINT (clear screen)
|
||||
sei ; turn off interrupts
|
||||
ldy #0
|
||||
sty $d020 ; reset border color
|
||||
Loop
|
||||
lda Message,y ; load message byte
|
||||
beq EOM ; 0 = end of string
|
||||
clc
|
||||
adc #$c0 ; + 192
|
||||
sta $400+41,y ; store to screen
|
||||
iny
|
||||
bne Loop ; next character
|
||||
EOM
|
||||
Wait1
|
||||
lda $d011
|
||||
bmi Wait1 ; wait for line < 256
|
||||
Wait2
|
||||
lda $d012 ; get current scanline
|
||||
Wait3
|
||||
cmp $d012
|
||||
beq Wait3 ; wait for scanline to change
|
||||
lsr
|
||||
lsr
|
||||
clc
|
||||
adc Temp
|
||||
sta $d020 ; set border color
|
||||
lda $d011 ; get status bits
|
||||
bpl Wait2 ; repeat until line >= 256
|
||||
sty $d020 ; reset border color
|
||||
dec Temp ; scroll colors
|
||||
jmp Wait1 ; endless loop
|
||||
Message
|
||||
; PETSCII - http://sta.c64.org/cbm64pet.html
|
||||
byte "HELLO`WORLDa"
|
||||
byte 0
|
@ -40,13 +40,13 @@ exports['test embed IDE in iframe'] = function(browser) {
|
||||
.waitForElementVisible('#emuscreen')
|
||||
.waitForElementVisible('.emuvideo')
|
||||
|
||||
browser.url(IDEURL + "?embed=1&platform=c64&importURL=/presets/c64/hello.dasm")
|
||||
browser.url(IDEURL + "?embed=1&platform=c64&importURL=/presets/c64/hellobasic.dasm")
|
||||
.waitForElementNotVisible('#compile_spinner', time=10000)
|
||||
.waitForElementNotVisible('#error_alert')
|
||||
.waitForElementVisible('#emuscreen')
|
||||
.waitForElementVisible('.emuvideo')
|
||||
|
||||
browser.url(IDEURL + "?embed=1&platform=c64&importURL=/presets/c64/hello.dasm")
|
||||
browser.url(IDEURL + "?embed=1&platform=c64&importURL=/presets/c64/hellobasic.dasm")
|
||||
.waitForElementNotVisible('#compile_spinner', time=10000)
|
||||
.waitForElementNotVisible('#error_alert')
|
||||
.waitForElementVisible('#emuscreen')
|
||||
|
Loading…
Reference in New Issue
Block a user