Live data from Hacker News

Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

retrogamecoders.com

41–46 of 46 posts

Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

#41

The lookup table is interesting. I wonder why pretty much no 1980s home computer BASICs included bitwise operations?

They did. AND, OR and NOT were bitwise operations as well as conditional operators. E.g. POKE 254, PEEK(254) AND 127 would turn off bit 7 of memory location 254 without affecting other bits.

In which BASIC?

Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

#42

Earlier quoted context omitted.

They did. AND, OR and NOT were bitwise operations as well as conditional operators. E.g. POKE 254, PEEK(254) AND 127 would turn off bit 7 of memory location 254 without affecting other bits.

In which BASIC?

All the Commodore BASICs, Applesoft, GW-BASIC, QBASIC from what I remember. Very certain about the Commodore BASICs.

Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

#43
post #22

> The 8-Bit Guy’s first nerd flex is making it shorter than one line. Hate to be that guy, but a line you enter at the prompt is still a line, even if it's not part of an "actual" (stored) program.

It's a non-numbered line.

Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

#44
post #26

Earlier quoted context omitted.

Gun nut is fine. One can be a gun nut without supporting the awful ideas/people within that domain. It's the support of awful ideas/people in that domain them that make him "controversial" (a.k.a. anti-social asshole, that insist being an anti-social asshole is simply a personality trait, immune to criticism)

Nah these days you pick a team and cancel the other.

Yeah, the teams are "The Assholes", and "Everyone Else". The problem with assholes is they don't "cancel" the other team, they forcefully insist on being part of the other teams lives.

Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

#45

Earlier quoted context omitted.

In which BASIC?

All the Commodore BASICs, Applesoft, GW-BASIC, QBASIC from what I remember. Very certain about the Commodore BASICs.

I did actually know that Commodore BASIC had it but had forgotten. I don't think I'd ever used GW-BASIC or QBASIC, weren't they on PCs?

Apple IIs weren't really a thing over here although the very first home computer I ever used was an Apple II belonging to a friend of my mother's - Tony van der Kuyl, father of video games magnate Chris van der Kuyl ;-)

Re: Zero Lines Maze: What the 8-Bit Guy's One-Liner Can Still Teach Us

#46
post #20
post #17

Earlier quoted context omitted.

I also live in my mom's basement and write currency libraries.

>currency libraries Are there some hidden depths to formatting/converting that I'm missing? And yes. I know not to use floats

Currency conversions is a fantastically more complicated task than most people realize. Also, performing transforms.
Post reply on HN