Commit Graph

390 Commits

Author SHA1 Message Date
minjaesong
e232181f3d cmd: cls to also clear pixels 2021-04-27 16:04:25 +09:00
minjaesong
eb58838a57 graphics: fixed pixels not plotting on non crt_color 2021-04-27 16:02:30 +09:00
minjaesong
e031f0d256 graphics: fixed bad screen fill command impl; added clearPixels cmd 2021-04-27 14:02:38 +09:00
minjaesong
62e115a32e program titles are properly push/popped even when the program was errored 2021-04-24 11:06:35 +09:00
minjaesong
2fa8400150 removing system.halt function 2021-04-24 10:42:23 +09:00
minjaesong
07136a46d9 RESET button works now 2021-04-24 09:46:15 +09:00
minjaesong
14ffc294e3 RESET button impl but won't boot after the reset 2021-04-23 23:55:26 +09:00
minjaesong
c4cccb63c3 STOP detection injection for do-loop 2021-04-23 22:38:15 +09:00
minjaesong
dbfda580a7 SIGTERM simulation by hitting SHIFT-CTRL-T-R 2021-04-23 21:57:02 +09:00
minjaesong
1626c5f5e2 that's one shitty way of injecting a code... 2021-04-23 19:31:49 +09:00
minjaesong
48fd10aeed implemented SIGSEGV 2021-04-23 15:19:20 +09:00
minjaesong
04cafea3c5 SIGTERM is now a thing but there's no use of it 2021-04-23 14:24:15 +09:00
minjaesong
6902cb27ec wip implementing 'STOP' button as an interrupt 2021-04-23 12:14:50 +09:00
minjaesong
82b021edd7 mock splash screen for the portable 2021-04-22 20:21:30 +09:00
minjaesong
c331397619 edit.js: tab key impl 2021-04-22 17:47:27 +09:00
minjaesong
2767386820 disk drive: fixed baaaaad writeout implementation -- what the fuck was i thinking? 2021-04-22 14:18:03 +09:00
minjaesong
4ed44be569 edit.js: line numbering for lnum >= 10000 2021-04-22 13:41:05 +09:00
minjaesong
0a76ad89c1 edit.js: vert scrolling when cursoringCol > screenWidth will no longer scroll a shorter-than-screenwidth-line that results hiding the contents 2021-04-22 13:16:18 +09:00
minjaesong
209266d510 edit.js: newline indicator 2021-04-22 11:49:06 +09:00
minjaesong
b468d5e8e5 edit.js: ^Q to quit 2021-04-22 11:25:44 +09:00
minjaesong
8997b83114 edit.js: minor asthetic fix 2021-04-22 11:15:51 +09:00
minjaesong
320aea286d Merge branch 'master' of github.com:curioustorvald/tsvm 2021-04-22 10:58:22 +09:00
minjaesong
e862edd67f edit.js: adding/deleting a text or a line works again 2021-04-22 10:56:20 +09:00
minjaesong
77ff22f968 edit.js: adding a character anywhere on the line works, but not the bksp 2021-04-22 10:40:41 +09:00
minjaesong
4066ddd7a5 edit.js: hor/vert scroll works even when cursorCol != cursoringCol 2021-04-22 10:13:36 +09:00
minjaesong
1ce7ebeac9 edit.js: highlighter position fixed when scroll > 0 2021-04-21 20:02:47 +09:00
minjaesong
823ca55496 edit.js: hor scroll also works; what left is doing vert scroll when col > 0 2021-04-21 17:47:51 +09:00
minjaesong
d348e56766 edit.js: scrolling is hard... vert scroll is honest-to-god working as it should 2021-04-21 17:34:34 +09:00
minjaesong
d85b1a99dc implementation of mmio 1024..2047 2021-04-20 14:49:58 +09:00
minjaesong
95c33f7d5e edit.js: horz scroll kinda works; vert scroll works flawlessly as long as COL is 1 2021-04-19 22:38:39 +09:00
minjaesong
1668211782 edit.js: caret row highlighter 2021-04-19 17:06:58 +09:00
minjaesong
aede935250 edit.js: vert scroll fixed, but not PgDn; hor scroll is still broken 2021-04-18 17:41:56 +09:00
minjaesong
6a1ce46f7b wtf 2021-04-17 22:56:19 +09:00
minjaesong
28d2fb6181 edit.js: completely new method of cursor moving thus everything is broken now :) 2021-04-17 18:03:08 +09:00
minjaesong
9465482fe2 edit.js: text nav in all four directions, home/end behaviour on shorter-than-screen-width line fixed, pageup/pagedown nav impl; default text colour is tad brighter 2021-04-17 11:36:10 +09:00
minjaesong
7a6b2573ca edit.js: text cursor moves intelligently on navigating lines, but scrolling is still wip 2021-04-17 10:39:55 +09:00
minjaesong
5554e0e927 edit.js: hit return to add a new line in the middle of the text 2021-04-16 17:58:19 +09:00
minjaesong
1fc01ab745 edit.js: home/end to move text cursor 2021-04-16 17:31:36 +09:00
minjaesong
74020199a6 more scroll thingy 2021-04-16 16:01:45 +09:00
minjaesong
3616d25cb6 edit.js: text line will scroll on cursor move 2021-04-16 13:39:58 +09:00
minjaesong
6ca20ce847 edit.js: scroll further left/right indicator 2021-04-16 11:38:50 +09:00
minjaesong
fba4ccb0cb edit.js: can scroll text horizontally but pretty much wip 2021-04-16 11:25:11 +09:00
minjaesong
36e043fd16 edit.js: can move text cursor left/right 2021-04-16 10:19:09 +09:00
minjaesong
6862604562 edit.js: cosmetic fix 2021-04-14 13:19:28 +09:00
minjaesong
adaeadd6ca edit.js: can read existing files; change on tty key read that arrow keys are now distinguished from ctrl-S or something 2021-04-14 11:35:39 +09:00
minjaesong
390176591d edit.js: can scroll down except a cosmetic problem 2021-04-13 12:00:18 +09:00
minjaesong
552f620c2c edit.js to shitty newline 2021-04-10 17:24:43 +09:00
minjaesong
64376f09b2 edit.js can write file to disk 2021-04-10 17:03:33 +09:00
minjaesong
67668e6423 get filename for edit 2021-04-08 15:35:57 +09:00
minjaesong
922e24c6fd reading keys using con.getch 2021-04-07 21:14:04 +09:00