abaudrand #1 Posted July 7, 2010 Hi, I just started a couple of weeks ago playing with visual bb and have small troubles understanding the playfield limitation. - I've tried to convert a photo to use it as playfield and I can't display it entirely. the resolution is 32 x 24 but the drawing is stuck at line 11. Is it a limitation of visual bb and batari basic? - the second problem (for the moment, guess I'll meet more as I go further) is that I want to play with the height of playfields between the titlescreen and the main game. when I leave the titlescreen to play the game, the display go havoc as there was no blank sync. I've removed any difference of pfheights (and the set kernel_option pfheights ) between game sequence and its quiet again but I guess it's my lack of knowledge about programming it. If someone have an explanation, I'll be glad to hear(read) it. Quote Share this post Link to post Share on other sites
yuppicide #2 Posted July 7, 2010 (edited) This is what you need it sounds like: The PFRES command: http://www.randomter...ands.html#pfres You also need to enable Superchip. This allows you to use a PFRES higher than 12. Edited July 7, 2010 by yuppicide Quote Share this post Link to post Share on other sites
jwierer #3 Posted July 8, 2010 Hi, I just started a couple of weeks ago playing with visual bb and have small troubles understanding the playfield limitation. - I've tried to convert a photo to use it as playfield and I can't display it entirely. the resolution is 32 x 24 but the drawing is stuck at line 11. Is it a limitation of visual bb and batari basic? - the second problem (for the moment, guess I'll meet more as I go further) is that I want to play with the height of playfields between the titlescreen and the main game. when I leave the titlescreen to play the game, the display go havoc as there was no blank sync. I've removed any difference of pfheights (and the set kernel_option pfheights ) between game sequence and its quiet again but I guess it's my lack of knowledge about programming it. If someone have an explanation, I'll be glad to hear(read) it. Replace the playfield section with your code and you should have a static picture of it in emulation. set romsize 32kSC set tv ntsc const pfres=24 COLUBK = $00 COLUPF = $08 playfield: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX end main drawscreen goto main Quote Share this post Link to post Share on other sites
abaudrand #4 Posted July 8, 2010 Thanks lads for the quick answers!!! it's crystal clear! I'll try it once I'm back from work. Regards. Quote Share this post Link to post Share on other sites
abaudrand #5 Posted July 9, 2010 Strange, I can't compile your code... I've checked the indentation for each line but each time Ì got this: Fatal assembly error: Source is not resolvable. Errors were encountered during assembly. Besides, I guess i can't make a working cartridge for all VCS if I choose a 32kSC. I will keep the low res instead. Keep working on it anyway. Quote Share this post Link to post Share on other sites
+Random Terrain #6 Posted July 9, 2010 (edited) Looks like he forgot to use the Atari Age Batari BASIC Code Cleaner. Try this: set romsize 32kSC set tv ntsc const pfres=24 COLUBK = $00 COLUPF = $08 playfield: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X X..............................X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX end main drawscreen goto main Edited July 9, 2010 by Random Terrain Quote Share this post Link to post Share on other sites
abaudrand #7 Posted July 9, 2010 (edited) set romsize 32kSC set tv ntsc COLUBK = $00 COLUPF = $0E const pfres=24 playfield: ....XXXXXXXXXXXXXXXXXXXXXXXXXXXX ....XXXXXXXXXXXXXXXXXXXXXXXXXXXX ....XXXXXXXXXXXXXXXXXXXXXXXXXXXX ...XXXX......XXXXXXXXXXXXXXXXXXX ....XXX..........XXXXXXXXXXXXXXX ...XXXX...........XXXXXXXXXXXXXX ...XXX.....X.......XXXXXXXXXXXXX ....XXX....XXX......XXXXXXXXXXXX ....XXX...XX........XXXXXXXXXXXX ....XXXX...X........XXXXXXXXXXXX .....XXXX............XXXXXXXXXXX ......XXXXX..........XXXXXXXXXXX ......XXXXX..........XXXXXXXXXXX .......XXXX...X......XXXXXXXXXXX ........XXXX........XXXXXXXXXXXX ........XXXXXXX.....XXXXXXXXXXXX .........XXXXXXXXX.XXXXXXXXXXXXX ...........XXXXXXXXXXXXXXXXXXXXX ............XXXXXXXXXXXXXXXXXXXX .............XXXXXXXXXXXXXXXXXXX ..............XXXXXXXXXXXXXXXXXX ..............XXXXXXXXXXXXXXXXXX ..............XXXXXXXXXXXXXXXXXX ...............XXXXXXXXXXXXXXXXX end main drawscreen goto main Thanks Random Terrain and A BIG THUMB UP for all the energy you give for your website. I now have a display issue in stella... Instead of having this (Grab1), I got that (grab2). I got the feeling I'm a dumber... By the way, i forgot: I'm using visual BB 1.0 (build 550)and stella 3.1.2 Edited July 9, 2010 by abaudrand Quote Share this post Link to post Share on other sites
+Random Terrain #8 Posted July 9, 2010 Try this: set romsize 32kSC set tv ntsc COLUBK = $00 COLUPF = $0E const pfres=24 playfield: ....XXXXXXXXXXXXXXXXXXXXXXXXXXXX ....XXXXXXXXXXXXXXXXXXXXXXXXXXXX ....XXXXXXXXXXXXXXXXXXXXXXXXXXXX ...XXXX......XXXXXXXXXXXXXXXXXXX ....XXX..........XXXXXXXXXXXXXXX ...XXXX...........XXXXXXXXXXXXXX ...XXX.....X.......XXXXXXXXXXXXX ....XXX....XXX......XXXXXXXXXXXX ....XXX...XX........XXXXXXXXXXXX ....XXXX...X........XXXXXXXXXXXX .....XXXX............XXXXXXXXXXX ......XXXXX..........XXXXXXXXXXX ......XXXXX..........XXXXXXXXXXX .......XXXX...X......XXXXXXXXXXX ........XXXX........XXXXXXXXXXXX ........XXXXXXX.....XXXXXXXXXXXX .........XXXXXXXXX.XXXXXXXXXXXXX ...........XXXXXXXXXXXXXXXXXXXXX ............XXXXXXXXXXXXXXXXXXXX .............XXXXXXXXXXXXXXXXXXX ..............XXXXXXXXXXXXXXXXXX ..............XXXXXXXXXXXXXXXXXX ..............XXXXXXXXXXXXXXXXXX ...............XXXXXXXXXXXXXXXXX end main drawscreen goto main Problem was that playfield: and the pixel data was not indented. Quote Share this post Link to post Share on other sites
abaudrand #9 Posted July 10, 2010 (edited) Ok... I still have the issue. I guess I have something wrong in the installation of visual bb as I manually upgrade from the previous seed. Guess there is a problem in the compilator. Goin' to check it right away. Got this message when i reinstall from build 550: Could not locate sed.exe. Please copy sed.exe to C:\Atari2600\bB. This will improve DASM error reporting Precompilation failed, aborted at 10/07/2010 15:23:40 ... ... Edited July 10, 2010 by abaudrand Quote Share this post Link to post Share on other sites
jwierer #10 Posted July 10, 2010 Ok... I still have the issue. I guess I have something wrong in the installation of visual bb as I manually upgrade from the previous seed. Guess there is a problem in the compilator. Goin' to check it right away. Got this message when i reinstall from build 550: Could not locate sed.exe. Please copy sed.exe to C:\Atari2600\bB. This will improve DASM error reporting Precompilation failed, aborted at 10/07/2010 15:23:40 ... ... No you missed a step in installing the bB compiler. In your bB folder you should see a fodler sed. Move sed.exe to the the parent folder where the 2600basic.exe compiler is located. This is covered in the bB readme. -Jeff Quote Share this post Link to post Share on other sites
abaudrand #11 Posted July 10, 2010 Thanks Jwierer, I forgot to check that as I first used the install program that Tinkernut provided with his tutorial. I'm actually using his tutorial to add more functions and try to see if I will be able to make my own little game later. So I've reinstall everything and now i can copy and paste the code that Random Terrain have provided and its fine. I just have to pay attention for indentation as it sometimes still give me issue. For the moment, I've succeed to add the stairway to go upstair on the dungeon and changed the movable area for the player depending on which floor he is. I'll try tommorow to add multi directionnal shooting by examinating the example file provided by Atarius Maximus. Once again, a warm thanks for your handy help here. I can't help much for the moments on batari but if u have any question about movie editing, just send me a MP and I'll be glad to return the favour. Quote Share this post Link to post Share on other sites