Heaven/TQA #1 Posted December 21, 2008 ok...as last year I wanted to contribute with a small demo screen... here is the WIP which has some bugs and no music yet... so if there is anybody who has some Christmas track in RMT just let me know... or more ideas... feel free to post it... christ1.zip Quote Share this post Link to post Share on other sites
pps #2 Posted December 21, 2008 Looks great so far More than I did till now... I thought I could do something yet, but always there are other things to do, than coding for a8 Sometimes I wish a day could have some more hours... Quote Share this post Link to post Share on other sites
Tezz #3 Posted December 21, 2008 (edited) Sometimes I wish a day could have some more hours...I looked for a solution to this problem and found that the answer was sleep deprivation! Merry coding.. I mean Christmas Good stuff Heaven, Merry Christmas to you too Edited December 21, 2008 by Tezz Quote Share this post Link to post Share on other sites
Rybags #4 Posted December 22, 2008 Will you be adding to it? I've got a music piece sitting here that I'll be using with mine. So far all I have planned is a static pic with extra colours. Something like that would go well with some more text (greets etc), but it would have to be restricted to about 1/4 screen, and has to leave enough CPU cycles free to run a stereo RMT song (my pic will have a full-length kernal). Quote Share this post Link to post Share on other sites
Heaven/TQA #5 Posted December 22, 2008 I am not finished yet... but after few hours of coding I lacked of inspiration... Quote Share this post Link to post Share on other sites
Rybags #6 Posted December 22, 2008 Nice font. I've gotta get going with my stuff - couple of hours today and it's from nothing to hopefully almost there. Actually, it's been more like 4 hours spread about the place doing stuff as notes before any real programming got done. Quote Share this post Link to post Share on other sites
Heaven/TQA #7 Posted December 22, 2008 font is from one of my fave site: http://cgi.algonet.se/htbin/cgiwrap?user=g...script=fonts.pl and was converted with PaintShop Pro XI (aligned on a 8x8 raster plus 160x200 bitmap) which then got loaded into g2f to save as MIC. Then own turbo basic converter to put the merry christmas on 32x256 bitmap format for the scroller... with 256 byte scanlines the building of the dlist per frame was easy... for the swining of the dlist I did a nice trick... i have a dummy displaylist with 240x empty scanlines and a jump instruction to the scroller displaylist... so a simple sintable ranging from 0-239 and I can easily write that into the low byte of the dlistv and voila my scroller swings... so...how would a VIC do this??? of course possible with badline trickery and FLDs...but the twist is nice, too... and I am not finished yet... Quote Share this post Link to post Share on other sites
Heaven/TQA #8 Posted December 22, 2008 font is from one of my fave site: http://cgi.algonet.se/htbin/cgiwrap?user=g...script=fonts.pl and was converted with PaintShop Pro XI (aligned on a 8x8 raster plus 160x200 bitmap) which then got loaded into g2f to save as MIC. Then own turbo basic converter to put the merry christmas on 32x256 bitmap format for the scroller... with 256 byte scanlines the building of the dlist per frame was easy... for the swining of the dlist I did a nice trick... i have a dummy displaylist with 240x empty scanlines and a jump instruction to the scroller displaylist... so a simple sintable ranging from 0-239 and I can easily write that into the low byte of the dlistv and voila my scroller swings... so...how would a VIC do this??? of course possible with badline trickery and FLDs...but the twist is nice, too... and I am not finished yet... small update... bugs ironed out and I have some ideas regarding the up/lower part of the scroller or to say for the background layer... ps. did someone test the stuff on NTSC machines? christ1.zip Quote Share this post Link to post Share on other sites
Heaven/TQA #9 Posted December 22, 2008 ok... just a rough idea... I will try to put the scroller above this: testtip.zip Quote Share this post Link to post Share on other sites
Heaven/TQA #10 Posted December 22, 2008 and here is the pic in the editor Quote Share this post Link to post Share on other sites
Cybernoid #11 Posted December 22, 2008 xmas_ny_rmt.zip Still need some Christmas or New Years Music? Quote Share this post Link to post Share on other sites
Heaven/TQA #12 Posted December 22, 2008 cool thanks! Quote Share this post Link to post Share on other sites
pps #13 Posted December 23, 2008 Picture looks great The bouncing scroller should be no problem above a picture - I did it in an ABBUC Magazin intro - off course only GR.15 pictrue and normal scroller - but with your advanced skills it can´t be any problem Quote Share this post Link to post Share on other sites
Heaven/TQA #14 Posted December 23, 2008 Jesus... why the hell do I force myself to finish the damned beast til tomorrow... not caught in a mosh but caught by some bugs... I was not aware of that a tip pic needs 24k alone! Quote Share this post Link to post Share on other sites
Heaven/TQA #15 Posted December 23, 2008 ok...the tricky part is that the tip fx is done via a one huge DLI... hmmm... the scroller has DLIs too...hmmm... so I squeeze both together in 1 monster DLI... Quote Share this post Link to post Share on other sites
Heaven/TQA #16 Posted December 23, 2008 well... what I am trying is to have a big DLI on the special y-pos I am switching to new dlist of the scroller by altering $d402,$d403... now did anybody tried to avoid the $01 in the end of the displaylist? I just want to blend the new display list via DLI and switch back? Quote Share this post Link to post Share on other sites
Rybags #17 Posted December 23, 2008 Why the need to avoid the $41 (JVB) ? You could use the same technique - reload the DList pointer directly on the second last scanline. It shouldn't matter too much - as long as the last scanline isn't Mode 2,3 or F since that will cause the screen-roll "bug". But, the DList pointer then must be reloaded by the system VBlank routine. Stage 2 does that but it's not guaranteed execution, e.g. it's skipped if an IRQ was in progress or IRQs are masked, or CRITIC flag is set. I suppose you could just ensure it's loaded by doing it in your Stage 1 routine. Quote Share this post Link to post Share on other sites
Heaven/TQA #18 Posted December 23, 2008 no... Rybags... consider the TIP picture... now you want to "insert" the scroller display list (32x3 bytes)... the DLI is a huge $76*2 rasterline DLI. so...I had the idea that on y-pos the DLI code is setting $d402,$d403 and the DLI is continuing with 32 STA Wsyncs and then I had the idea to switch back to the correct dlist pos of the TIP while the DLI continues to make the TIP fx... the scroller dlist does not contain any $01 or $41... Quote Share this post Link to post Share on other sites
Rybags #19 Posted December 23, 2008 Shouldn't be a problem... Loop in the TIP part whatever number of iterations needed, then load Antic's DList pointer at the relevant time. Remembering you need to do it pretty quickly since the fetch occurs not long after WSync. Empty loop then reload the pointer again. But, shouldn't you need to calculate what address to resume (LMS) at ? I assume you'd want the scroller to overlay the picture rather than split it into two (if you know what I mean). Makes it a bit easier if your TIP pic has LMS every scanline anyway, then all you need to do is a quick multiplication by 3 to work out addresses. Quote Share this post Link to post Share on other sites
Heaven/TQA #20 Posted December 23, 2008 yup. the TIP has standard 3 byte LMS so no trickery here. So I can precalc the entry points in the VBL. As the scroller occupies 32 scanlines I know how many lms i need to skip of each dlist. but maybe i am too tired. Quote Share this post Link to post Share on other sites
Rybags #21 Posted December 24, 2008 To make it much easier, why not just build the DList with LMS on every single line. Costs a little more RAM and 2 cycles are then lost every scanline - but saves you the task of having to calculate and insert the address in the VBL. All that remains is to calculate the reload address for the end of the inserted text part. Quote Share this post Link to post Share on other sites
Heaven/TQA #22 Posted December 24, 2008 (edited) it is little bit tricky due to the interlace nature and the "complicated" TIP dlists... you have to be carefull not to miss the entry point to the correct scanline in the display list otherwise your TIP gets out of sync or the pic get starting rolling... btw. the original pic is from the desktop background of Mirror's Edge... http://www.mirrorsedge.com/ Edited December 24, 2008 by Heaven/TQA Quote Share this post Link to post Share on other sites
Heaven/TQA #23 Posted December 24, 2008 I have to admit that our 1978/1979 machine is not bad at all... christ2.zip Quote Share this post Link to post Share on other sites
Rybags #24 Posted December 24, 2008 Nice roll on the text there. So, will it be jumping up/down like before when you're finished? Quote Share this post Link to post Share on other sites
Heaven/TQA #25 Posted December 24, 2008 should swing over the TIP as soon as I have implemented the missing DLI code + lookup tables for the dlist entry points. I am glad that I reached this point at all... Quote Share this post Link to post Share on other sites