MrDave Posted July 17, 2021 Share Posted July 17, 2021 This program is 100% basic code no ml subroutines.. the read/poke are for the palette colors 1 Quote Link to comment Share on other sites More sharing options...
Mcnd96 Posted July 17, 2021 Share Posted July 17, 2021 Wow! That looks great! 15 hours ago, MrDave said: This program is 100% basic code no ml subroutines.. the read/poke are for the palette colors Where is the information on how to do this or can you share? Quote Link to comment Share on other sites More sharing options...
Gamemoose Posted July 18, 2021 Share Posted July 18, 2021 Is the image from something like CoCo Max 3? I see you LOADM’ing a bunch of files. I remember pulling a static image from CoCo Max 3 into BASIC after reading how to do it from somewhere BITD. Quote Link to comment Share on other sites More sharing options...
MrDave Posted July 18, 2021 Author Share Posted July 18, 2021 Yes i converted a bmp image into 8k chunks and load them in the ram. With loadm "plata...platb etc Then from basic i set variable vv to the start of my image in ram and poked that to the video chip,.. then i scroll down a bunch of times by adding 32 to it.. then i use to joystic to adjust the pos.. i have a dsk image if you want Quote Link to comment Share on other sites More sharing options...
cr0sh Posted July 18, 2021 Share Posted July 18, 2021 @MrDave Can you post the DSK image to the CoCo Archive - that way, everyone can enjoy it? https://colorcomputerarchive.com/ -- AndrewA Quote Link to comment Share on other sites More sharing options...
MrDave Posted July 18, 2021 Author Share Posted July 18, 2021 Yes np i can do that Quote Link to comment Share on other sites More sharing options...
turboxray Posted July 19, 2021 Share Posted July 19, 2021 On 7/16/2021 at 7:19 PM, MrDave said: This program is 100% basic code no ml subroutines.. the read/poke are for the palette colors Why though? Considering there are compilers and assemblers for the 6809, why even bother with BASIC anymore??? Quote Link to comment Share on other sites More sharing options...
MrDave Posted July 19, 2021 Author Share Posted July 19, 2021 Some people returning to these retro machines like to see what can be done with the OK prompt. 1 Quote Link to comment Share on other sites More sharing options...
cr0sh Posted July 21, 2021 Share Posted July 21, 2021 On 7/18/2021 at 4:48 PM, MrDave said: Yes np i can do that Cool - thanks! Quote Link to comment Share on other sites More sharing options...
Ben48 Posted July 22, 2021 Share Posted July 22, 2021 I thought the coco 3 already had scrolling commands? Quote Link to comment Share on other sites More sharing options...
MrDave Posted July 23, 2021 Author Share Posted July 23, 2021 I never knew of these tricks when i had a coco3 back in the day., i will let you guys know when i have uploaded the code to the archive Quote Link to comment Share on other sites More sharing options...
cr0sh Posted February 28, 2023 Share Posted February 28, 2023 MrDave - Sorry to bring up this necrothread... But did you ever upload the code to the archive? I've got somebody asking me about it, did I get it to run, etc - and I never played around with it further to try to load my own image or something. I tried to run it in xroar online by skipping the disk load (ie 5 GOTO 60) - but it appears to lock up the emulator (I'm not sure if xroar is set to 512K which the code would have to use, right?). I haven't tried any other emulator, or a real machine, yet...thanks... Quote Link to comment Share on other sites More sharing options...
cr0sh Posted February 28, 2023 Share Posted February 28, 2023 MrDave - Saw your comment on the video about the source being on Rick Adams Github: https://github.com/yggdrasilradio/scroll I tried it out using OVCC, RSDOS, and 512K of memory - and it worked properly. Thank you! Quote Link to comment Share on other sites More sharing options...
MrDave Posted February 28, 2023 Author Share Posted February 28, 2023 Sorry i had forgotten about this... i went back to machine language lol ..i think someone posted it to the archive as i had put up the dsk image on the coco discord. . Like most of my demo's i am just quickly showing what can be done.. I used paint shop to convert a bmp image to 16 colors and 256 bytes wide ( 512 ) then chopped up the image file into 8k chunks to put into coco ram from basic.. Then from basic you just have to tell the gime chip where to start in ram and you can move around your image from hardware. To convert a image to work on the coco you need to have a bmp the screen width usually 320 but this case it 512.. save the image upsidedown ( thats how bmp files are ) then you can get the raw data ( remove the bmp header 114 bytes if i recall correctly ) Quote Link to comment Share on other sites More sharing options...
MrDave Posted February 28, 2023 Author Share Posted February 28, 2023 Another trick that would work with this is my sub sprites ( compiled sprites ) from basic... the sprites are a self contained ml sunroutine that draw themselves to wherever you point.. lighting fast even from basic ! I wrote a basic program that converts a sprite to ml code.. so instead of the usual read data..draw to screen.. repeat... this just draws the needed pixels ... with transparent background Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.