Questions tagged [color-basic]

for questions about the implementation of Microsoft BASIC used on Tandy/Radio Shack TRS-80 Color Computers

Filter by
Sorted by
Tagged with
7 votes
1 answer
267 views

How do you implement double-buffering on a CoCo 3 320x192x16 screen in BASIC?

I was hoping someone could just share a small code snippet with all the requisite POKEs that would illustrate how this is done. I would think for someone who knows what they were doing that this is a ...
TheSentinel's user avatar
5 votes
2 answers
662 views

What effect does exiting a FOR/NEXT loop early have on the TRS-80 Color Computer?

I have a subroutine with a for/next loop in Extended Color BASIC on the TRS-80 Color Computer that I would like, sometimes, to return early from. That is, to return from the subroutine from within the ...
Jerry Stratton's user avatar
2 votes
1 answer
210 views

For TRS-80 Color Computer joystick buttons, is it correct to check the first or second bit of the value at PEEK(65280)?

The Color BASIC/Extended Color BASIC “Getting Started” manuals say that to find out if a joystick button is pressed, to PEEK in location 65280. The value 255 means neither button is pressed; the ...
Jerry Stratton's user avatar
7 votes
1 answer
790 views

Can someone help me get xROAR to read files? (M6809/TRS-80 ColorComputer)

I implemented a Forth interpreter or the TRS-80 Color Computer (M6809) way back in the 1980s, and I've been trying to figure out how to get it loaded into an emulator to test some parts of the ...
Joel Rees's user avatar
  • 351
18 votes
2 answers
904 views

Color BASIC RND function not so random

The RND() function for random numbers appears to give the same results each time the computer is reset. How do I seed the random number generator with a random number?
tlindner's user avatar
  • 2,357
5 votes
1 answer
140 views

Extended Color BASIC TIMER Function

How does the TIMER function work in Extended Color BASIC? How does the number keep incrementing even when the computer appears to be doing nothing?
tlindner's user avatar
  • 2,357