Search found 7 matches

by KaiLikesToCode
Thu Feb 15, 2024 9:01 pm
Forum: Modern Computing
Topic: Alternative timeline: A better Windows ME
Replies: 33
Views: 20763

Re: Alternative timeline: A better Windows ME

I have 2 answers, joke, and real. Joke: Sell all windows assets to Apple. Bill Gates stole the idea of a GUI OS anyway, lol. Real: DOS needed to be gone. Microsoft knew that. So ME was just filler. An attempt to keep DOS for a little longer. I would've just been like: Alright, delay the release of t...
by KaiLikesToCode
Fri Jan 12, 2024 2:02 pm
Forum: Modern Computing
Topic: how did you get into dev (for those inclined to do so)?
Replies: 19
Views: 73843

Re: how did you get into dev (for those inclined to do so)?

I was 5. My sister showed me scratch. When I was 6 I watched a python tutorial. Anyone can learn. Just watch a tutorial! Python is a good place to start.
by KaiLikesToCode
Wed Jan 10, 2024 6:28 pm
Forum: Programming
Topic: How to set text color in text mode?
Replies: 2
Views: 19109

How to set text color in text mode?

My code sets to color to render the player as a text character and the enemy. SETUP: COLOR 1,0 X = 5 Y = 5 EX = 14 EY = 14 MS = 1 CLS SCREEN 3 GOTO GAME GAME: IF INT(EX) = INT(X) AND INT(EY) = INT(Y) THEN GOTO GAMEOVER TILE X,Y,96 V=JOY(0) IF V AND 8 THEN Y = Y - MS IF V AND 4 THEN Y = Y + MS IF V A...
by KaiLikesToCode
Tue Jan 09, 2024 9:10 pm
Forum: Programming
Topic: How to set color for rectangles in graphics mode in x16 basic?
Replies: 1
Views: 13369

How to set color for rectangles in graphics mode in x16 basic?

I have some code to draw a grid of rects:

Code: Select all

start:
	screen 128
	goto loop
	
loop:
	for i=1 to 5
	for j=1 to 5
	color rnd(1)*15
	rect i*25,j*25,i+15, j+15
	next j
	next i
	goto loop
But using the color command seems to not change the color of the rect color in graphics mode.
by KaiLikesToCode
Sat Dec 09, 2023 1:28 am
Forum: Programming
Topic: How to use the video registers in Assembly?
Replies: 7
Views: 13310

Re: How to use the video registers in Assembly?

I'm gonna make a macro for poking to the video memory, (named pvr). Can you please give me an example of poking to the vram? NOTE: I'm using DASM
by KaiLikesToCode
Fri Dec 08, 2023 6:37 pm
Forum: Programming
Topic: How to use the video registers in Assembly?
Replies: 7
Views: 13310

How to use the video registers in Assembly?

In X16 Basic, you can use VPoke to poke to the VERA registers, like this:

Code: Select all

VPOKE 1,1
VPOKE 2,2
But in 6502 assembly, you use LDX and STA. How do we poke to the VERA in assembly?
by KaiLikesToCode
Sun Sep 17, 2023 8:08 pm
Forum: Programming
Topic: How to set background color in X16 Basic?
Replies: 1
Views: 986

How to set background color in X16 Basic?

You can set text color by using COLOR. How do I do background color?