Close

More than 1 thing at once

A project log for Merlin

68000 Retro Super Computer

matthew-pearceMatthew Pearce 07/12/2021 at 12:020 Comments

Colours and sizes have been added.

LINEC, FILLC and SIZE can now be used to alter colours.

5 CLS $FFFFFF: CLR                                                              
10 SIZE 16                                                                      
20 CURSOR 60,60                                                                 
25 LINEC $FF0000                                                                
30 GDPRINT"HELLO WORLD!"                                                        
31 SIZE 1                                                                       
32 LINEC $00FF00                                                                
33 LINE 100,200,250,400,1                                                       
34 POINT 20,20,1                                                                
35 GDSWAP                                                                       
40 PRINT"DONE"   

The flag at the end of the line and point commands, tells the EVE code to switch modes ->

GD.Begin(LINES);

or

GD.Begin(POINTS);

Discussions