Author | Comment |
haveacalc Guardian
Posted: 18 May 2007 12:41 GMT Total Posts: 1111 | Ok, I just stumbled on this today during school. I think it's one of the coolest discoveries I've made, a worthy piece of news, and something that may change 83/84 family programming forever. I never thought that half-bits were real, but I'm kind of wondering now.
Even though I'm sure it can be cut down to a single program, this discovery involved two. Here's the first:PROGRAML:GRAYASM AsmPrgm F30E20 CD0B0079D310CD0B00 06403E80D310CD0B00 3EFFD311CD0B0010F9 0C79FE2C20EBFBC9 The second program is this, though you can screw with it easily:PROGRAM:GBASIC For(C,0,88,16 For(B,C,C+7 Asm(prgmGRAYASM For(A,0,62,2 Pxl-Change(A,B End End End Text(-1,30,18,"GRAYSCALE! Run prgmGBASIC. When it finishes, you should have some grayscale columns. Part of "GRAYSCALE!" should be regular. Another thing to observe is that the grayscaled areas (including unshaded pixels) react differently to a change in the screen intensity (especially darkening) than the rest of the screen does. Grayness only comes in columns, but grayscale images can still be stored to pic variables. After a RAM clear, though, the obviousness of the image being grascale diminishes (though the grayscality is still there). I have yet to do much experimenting with this, but I'm sure others will after the news spreads. The best part of this is that a significant amount of 3-level grayscale is now available to pure BASIC programmers (with the pre-running of an ASM one).
--- -quoted directly from most movies that don't exist (and some that do). |
threefingeredguy Ghost
Posted: 18 May 2007 22:35 GMT Total Posts: 1189 | Lawdy.
--- Someone call for an exterminator? |
me2 Goliath
Posted: 24 May 2007 18:00 GMT Total Posts: 171 | you can do that with Xlib by using a while loop to clear part of the screen as you move...
--- <--- Going out with a bang. |
threefingeredguy Ghost
Posted: 26 May 2007 17:49 GMT Total Posts: 1189 | Except then that's all you can. BASIC sucks.
--- Someone call for an exterminator? |