+CharlieChaplin Posted January 5, 2020 Share Posted January 5, 2020 Add a 7 bytes routine (equivalent to Poke 580,1) to the demos and most will do a coldstart (reboot) when pressing Reset... COLDSTA.XEX 3 Quote Link to comment Share on other sites More sharing options...
F#READY Posted January 5, 2020 Share Posted January 5, 2020 Ok, ok, here's a version with coldstart. Still within 256 bytes ? happy2020.xex 3 Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted January 5, 2020 Share Posted January 5, 2020 Well we have it ready for next year guys ? my 130xe says you are all forgiven ? 1 Quote Link to comment Share on other sites More sharing options...
milpool^tired Posted January 5, 2020 Share Posted January 5, 2020 1 hour ago, CharlieChaplin said: Add a 7 bytes routine (equivalent to Poke 580,1) to the demos and most will do a coldstart (reboot) when pressing Reset... COLDSTA.XEX 7 B · 2 downloads What does this do? My entry doesn't reboot aswell, it just gets broken and starts flickering when you hit RESET, so i'd like to fix this for future releases. btw, is there any way to build a hardware reset button for an XE, so i don't have to use the power switch for a cold boot? I think the reset button is already connected to the RST pin, so a real hw reset should clear the memory aswell. did anyone build this already? 1 Quote Link to comment Share on other sites More sharing options...
F#READY Posted January 5, 2020 Share Posted January 5, 2020 9 minutes ago, milpool^tired said: What does this do? My entry doesn't reboot aswell, it just gets broken and starts flickering when you hit RESET, so i'd like to fix this for future releases. btw, is there any way to build a hardware reset button for an XE, so i don't have to use the power switch for a cold boot? I think the reset button is already connected to the RST pin, so a real hw reset should clear the memory aswell. did anyone build this already? From 'Mapping the Atari': 580 244 COLDST Coldstart flag. Zero is normal, if zero, then pressing RESET will not result in reboot. If POKEd with one (powerup in progress flag), the computer will reboot whenever the RESET key is pressed. Any non-zero number indicates the initial powerup routine is in progress. 2 Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted January 6, 2020 Share Posted January 6, 2020 Okay, here you are TRBB, all disk-images of NYD 2020 and almost all programs with reboot/coldstart routine added. Just press Reset now to reboot your computer! The only exception is Mines.BAS since it is a Basic file; here one could add Poke 580,1 to the listing, if it weren't a 10-liner listing with "too long" lines (I therefore was unable to add the command into the listing). But you can simply press Reset or Break, then type POKE 580,1 as a direct command without line number and press Reset to reboot... I tested all programs with the emulator and they still worked fine (and most, except the mentioned Basic file rebooted with Reset) - hopefully this is also the case with your real Atari. If not, let me know... NYD_2020_with_Reboot.zip 3 Quote Link to comment Share on other sites More sharing options...
dmsc Posted January 6, 2020 Share Posted January 6, 2020 Hi! 1 hour ago, CharlieChaplin said: Okay, here you are TRBB, all disk-images of NYD 2020 and almost all programs with reboot/coldstart routine added. Just press Reset now to reboot your computer! The only exception is Mines.BAS since it is a Basic file; here one could add Poke 580,1 to the listing, if it weren't a 10-liner listing with "too long" lines (I therefore was unable to add the command into the listing). But you can simply press Reset or Break, then type POKE 580,1 as a direct command without line number and press Reset to reboot... Attached is a version of the MINES.BAS (as BAS file and also as listing source) that adds the POKE 580,1, still 10 lines. Have Fun! mines1.bas mines1.lst 2 Quote Link to comment Share on other sites More sharing options...
+Philsan Posted January 6, 2020 Share Posted January 6, 2020 7 hours ago, CharlieChaplin said: Okay, here you are TRBB, all disk-images of NYD 2020 and almost all programs with reboot/coldstart routine added. Just press Reset now to reboot your computer! If I am not wrong my contributions (NewTek Demo and Snowfall Atari) were already reset compliant. Can you confirm so I know which files to keep? Quote Link to comment Share on other sites More sharing options...
+CharlieChaplin Posted January 6, 2020 Share Posted January 6, 2020 Afair, Snowfall was already reset compliant, don't know about NewTek Demo, since I did not test it before adding the coldstart routine... Quote Link to comment Share on other sites More sharing options...
+therealbountybob Posted January 6, 2020 Share Posted January 6, 2020 9 hours ago, Philsan said: If I am not wrong my contributions (NewTek Demo and Snowfall Atari) were already reset compliant. Can you confirm so I know which files to keep? Hi Philsan, yes they both were ok thank you. I liked both demos too and left Snowfall wunning for ages to fill up the snow piles and listen to the great music 1 Quote Link to comment Share on other sites More sharing options...
+Philsan Posted January 6, 2020 Share Posted January 6, 2020 Snowfall Atari Snowfall Atari (2019)(Philsan).xex - compiled Turbo-Basic XL - 160x96 pixels image edited and converted using Atari Graphics Studio program by Tebe - RMT player by Raster, adapted for TBXL by Marok - original Atari Basic snowfall code (80x48 pixels) by Fred Key (1986) - Depeche Mode Little 15 tune by Jakub Husak (2010) - packed by Homesoft 6 Quote Link to comment Share on other sites More sharing options...
+Philsan Posted January 26, 2020 Share Posted January 26, 2020 NewTek Demo NewTek Demo (2019)(Philsan)(pal).xex I converted some images from the famous Amiga NewTek Demo Reel #1 (1987). Images are ripped from Amiga, manually edited and converted with RastaConverter program by @ilmenit. Slideshow code is by @pps. Amiga demo soundrack is Art of Noise's Paranoimia. I added it to the video, it isn't included in the demo. 5 Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted March 17, 2020 Share Posted March 17, 2020 Wasn't here for it this year, can the complete collection for this years NYD and the further extra goodies posted in this thread be double checked and placed here for an all at once download. TNX _T D__ Quote Link to comment Share on other sites More sharing options...
Fred Toronto Posted June 19, 2020 Share Posted June 19, 2020 Does anyone have any technical notes on the programming of Runner Bear? Ways to contact the developers? I thought I knew the hardware pretty well, having written some machine language games myself, but the parallax effect here is excellent and I have no idea how they could have achieved it. Display List Interrupts and fine scrolling registers of course... but there has to be something else. Quote Link to comment Share on other sites More sharing options...
pps Posted June 19, 2020 Author Share Posted June 19, 2020 3 hours ago, Fred Toronto said: Does anyone have any technical notes on the programming of Runner Bear? Ways to contact the developers? I thought I knew the hardware pretty well, having written some machine language games myself, but the parallax effect here is excellent and I have no idea how they could have achieved it. Display List Interrupts and fine scrolling registers of course... but there has to be something else. You can contact #playsoft or #kiwilove for more information here at atariage. I would assume they used used charmode and some 'in char scrolling' for that effect. Quote Link to comment Share on other sites More sharing options...
kiwilove Posted June 19, 2020 Share Posted June 19, 2020 Nope - not me. I had very little involvement with Runner Bear. Even I have very little idea of the technical stats for it. I only design graphics - for the ones I become involved with. Harvey Quote Link to comment Share on other sites More sharing options...
+playsoft Posted June 23, 2020 Share Posted June 23, 2020 On 6/19/2020 at 1:31 AM, Fred Toronto said: Does anyone have any technical notes on the programming of Runner Bear? Ways to contact the developers? I thought I knew the hardware pretty well, having written some machine language games myself, but the parallax effect here is excellent and I have no idea how they could have achieved it. Display List Interrupts and fine scrolling registers of course... but there has to be something else. @pps is correct, it uses character mode, the screen is scrolled left and the background characters are updated to scroll right (at a lesser rate). The hardware features it uses are horizontal scrolling, screen flipping (so that one screen can be displayed while the other is computed) and character set flipping (to scroll the background characters). When you scroll a background character right it scrolls into the adjacent character. Say you have a row of characters containing AB (with spaces before and after). There are 3 different pairs of characters; (space, A), (A,B) & (B, space). To scroll them right you will need a scrolled character for each, XYZ, where X is space scrolling into A, Y is A scrolling into B, Z is B scrolling into space. Where the same pairs of characters are repeated in the background you can replace them with the same scrolled characters. In the attached example the (48x24 character) background contains 27 unique characters; after it has been converted for scrolling it contains 63 characters. 4 character sets are used. In character set #1 the background characters aren't scrolled right at all, in #2 by 1 pixel, in #3 by 2 pixels and in #4 by 3 pixels. In the attached example the screen scrolls left 1 pixel per frame and the character sets are swapped every other frame. Once the background characters have fully scrolled right and you want to reset back to character set #1, you need to recompute the screen. That takes a lot of CPU cycles because for every character in the screen buffer you need to look at the character in the foreground, if it is non-zero write it otherwise write the character from the background. That is where the screen flipping comes in, you break this down into small steps and work on the inactive screen so that it is ready for when you need to reset. In the attached example you have 8 frames before you need to reset, so it splits it down into a number of screen columns each frame. I think that is everything. For simplicity I generate the scrolled background and character set data on the PC but this could be done on the A8 which would reduce the amount of data held in the XEX file. The main limitation is that the foreground designs need to use whole characters, if you leave bits of foreground characters blank it breaks the illusion. scroll.zip 4 Quote Link to comment Share on other sites More sharing options...
Fred Toronto Posted July 23, 2020 Share Posted July 23, 2020 Thanks for the detailed explanation, @playsoft It occurred to me that you had to use intra-character "animation" but there are so many (apparent) variations in the hills I didn't think anyone would go to that much trouble. But I guess if you were to decompose it the hills can be constructed from a relatively finite set of variations amenable to character mapping. Sounds like you had some useful PC-based tools to streamline this. At any rate, brilliant. Kudos! 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.