Browse code

Removed unused routines in calc.tal

neauoire authored on 20/09/2021 22:44:05
Showing 1 changed files
... ...
@@ -414,7 +414,7 @@ RTN
414 414
 	STH
415 415
 	#04 #00
416 416
 	&loop
417
-		( color ) DUP TOS ;modpad/color ++ LDA STH
417
+		( color ) #03 STH
418 418
 		( state ) DUP OVRr STHr = STH
419 419
 		( layout ) DUP TOS 8** ;mod-icns ++ STH2
420 420
 		( x ) #0000 STH2
... ...
@@ -431,11 +431,9 @@ RTN
431 431
 @draw-key ( x* y* glyph* state color -- )
432 432
 
433 433
 	( auto x addr ) #05 .Screen/auto DEO
434
-
435 434
 	( color ) ,&color STR
436 435
 	( state ) ,&state STR
437 436
 	( glyph ) ,&glyph STR2
438
-
439 437
 	( state ) ;button-icns [ #00 ,&state LDR 20** ++ ] .Screen/addr DEO2 
440 438
 	( y* ) .Screen/y DEO2
441 439
 	( x* ) .Screen/x DEO2
... ...
@@ -485,39 +483,6 @@ RTN
485 483
 
486 484
 RTN
487 485
 
488
-
489
-@line-rect ( rect color -- )
490
-
491
-	STH STH
492
-	( y2 ) STHkr #06 + LDZ2
493
-	( y1 ) STHkr #02 + LDZ2 #0001 -- ( flip sign ) GTH2k SWP2?
494
-	&ver
495
-		( save ) DUP2 .Screen/y DEO2
496
-		( x1 ) STHkr LDZ2 #0001 -- .Screen/x DEO2 
497
-		OVRr STHr .Screen/pixel DEO
498
-		( x2 ) STHkr #04 + LDZ2 .Screen/x DEO2 
499
-		OVRr STHr .Screen/pixel DEO
500
-		( incr )
501
-		INC2 GTH2k ,&ver JCN
502
-	POP2
503
-	( x2 ) STHkr #04 + LDZ2
504
-	( x1 ) STHkr LDZ2 #0001 -- ( flip sign ) GTH2k SWP2?
505
-	&hor
506
-		( save ) DUP2 .Screen/x DEO2
507
-		( y1 ) STHkr #02 + LDZ2 #0001 -- .Screen/y DEO2 
508
-		OVRr STHr .Screen/pixel DEO
509
-		( y2 ) STHkr #06 + LDZ2 .Screen/y DEO2 
510
-		OVRr STHr .Screen/pixel DEO
511
-		( incr )
512
-		INC2 GTH2k ,&hor JCN
513
-	POP2
514
-	POPr 
515
-	.Screen/x DEO2
516
-	.Screen/y DEO2 
517
-	STHr .Screen/pixel DEO
518
-
519
-RTN
520
-
521 486
 @print-hex ( value* -- )
522 487
 	
523 488
 	&short ( value* -- )
... ...
@@ -552,11 +517,6 @@ RTN
552 517
 		0101 0102
553 518
 		0102 0202
554 519
 
555
-@modpad
556
-	&color
557
-		0303 0303
558
-		0303 0303
559
-
560 520
 @font-hex
561 521
 	007c 8282 8282 827c 0030 1010 1010 1010
562 522
 	007c 8202 7c80 80fe 007c 8202 1c02 827c