Search found 193 matches

by pallas
Tue Mar 05, 2013 9:58 am
Forum: Programming
Topic: [Q] are ORs and ANDs short-circuited?
Replies: 5
Views: 1136

[Q] are ORs and ANDs short-circuited?

Hello,

I couldn't find this information by googling so I'm asking the gurus here.
Are the "and" and "or" operators short-circuited in basic v2?

http://en.wikipedia.org/wiki/Short-circuit_evaluation

I.e. (1 or a=1) will basic evaluate a=1?
by pallas
Sat Mar 02, 2013 7:13 am
Forum: Programming
Topic: Poxels splash screen + animation
Replies: 30
Views: 6088

You can convert the B/W image directly to a BASIC program which consists solely of PRINT statements (and two POKEs into screen and colour RAM for the bottom-right character), which is much more efficient speed- and memory-wise. That's what I want to do. I think I'll write a little (perl?) script th...
by pallas
Fri Mar 01, 2013 5:43 am
Forum: Programming
Topic: Poxels splash screen + animation
Replies: 30
Views: 6088

Thanks for the advice.
Is there a tool to convert the coordinates to basic v2 code?
by pallas
Thu Feb 28, 2013 1:42 pm
Forum: Programming
Topic: Poxels splash screen + animation
Replies: 30
Views: 6088

Poxels splash screen + animation

Hello!
What's the best workflow to convert a graphic file (on PC, possibly Linux) to petscii (poxels) basic drawing code?
I'd like to make a compact "graphical" splash screen.
by pallas
Sun Feb 24, 2013 5:59 am
Forum: Announcement Board
Topic: VIC-20 Software Releases of 2013
Replies: 40
Views: 54935

Cento

Name: Cento Author: Pallas (OPByte) Released: February 18, 2013 Requirements: Unexpanded VIC-20 Description: The game is made of a board divided into 10x10 squares. Goal of the game is to fill as many squares as possible. You can move horizontally and vertically by 3 squares or diagonally by 2. To ...
by pallas
Sat Feb 23, 2013 11:31 am
Forum: Announcement Board
Topic: Introduce Yourself: What's your User Name based on?
Replies: 656
Views: 361451

Mine is because I like a band called Pallas ;-)
by pallas
Sat Feb 23, 2013 11:24 am
Forum: Hardware and Tech
Topic: Alternative SD2IEC 5v power source
Replies: 15
Views: 3962

Many thanks Heather, that's very kind.
I've managed to solve the problem by taking 5v from the video port, as suggested.
Back to soldering after 20 years was fun!
I'll keep your proposal for other purchases I may need to make in the future :-)
Have a nice weekend
by pallas
Sat Feb 23, 2013 8:12 am
Forum: Hardware and Tech
Topic: Alternative SD2IEC 5v power source
Replies: 15
Views: 3962

Hello! I've connected the 5v of the video port to the sd2iec and it works :-)
Now I can use the datassette and the SD together.
Thanks everybody!
by pallas
Fri Feb 22, 2013 4:30 am
Forum: General Topics
Topic: A few changes to Denial memberships
Replies: 5
Views: 1036

I think vic-20 lovers average age is... well... surely not under 30, so we should be patient people: waiting a bit for membership won't be a problem ;-)
by pallas
Thu Feb 21, 2013 6:06 am
Forum: Games
Topic: [finished] Cento (simple board game)
Replies: 15
Views: 10712

I wasn't satisfied with the time it took to do the "game over" check, so I did a bit of optimization and uploaded the new .prg file.
Now it feels quicker when doing fast moves.
Every single instruction and FOR cycle matters! ;-)
by pallas
Wed Feb 20, 2013 7:13 am
Forum: Games
Topic: [finished] Cento (simple board game)
Replies: 15
Views: 10712

Thanks and yes, the plan is to make some more in the future: I really enjoyed making "cento" so it will be fun making other games or little programs like that. If time permits, of course :-) As many said before, the limited resources makes you concentrate on playability instead of appearan...
by pallas
Wed Feb 20, 2013 3:03 am
Forum: Games
Topic: [finished] Cento (simple board game)
Replies: 15
Views: 10712

Thanks!
There is a good thing about programming on the VIC. It's that the programs get finished :-)
On todays environments, there is always something new to be fixed!
by pallas
Tue Feb 19, 2013 7:22 am
Forum: Games
Topic: Randomness in games
Replies: 23
Views: 4566

Yes, this kind of randomness is OK, but as long as you play the same game, and go back and forth one level, at least the map (if not the monsters) should remain the same. That's not the case of rogue, moria and hangband (I believe it is for diablo instead). On moria you run thru hundreadths of leve...
by pallas
Tue Feb 19, 2013 4:23 am
Forum: Games
Topic: Randomness in games
Replies: 23
Views: 4566

Games like moria and nethack have full random levels and monsters + artifacts and special monsters. So mostly random but a lot of fun for months of gameplay. But, globally, there is a "pattern" and a "quest" which keeps it "consistent" as a whole. I think that's because...
by pallas
Mon Feb 18, 2013 10:09 am
Forum: Games
Topic: [finished] Cento (simple board game)
Replies: 15
Views: 10712

[finished] Cento (simple board game)

Hello! I finally made my first game and program for the vic-20 after almost 30 years! It's all basic and petscii for the unexpanded vic. http://www.opbyte.it/vic20/cento-1.png http://www.opbyte.it/vic20/cento-2.png I'd really appreciate any programming advice you can give: there are probably many op...