TIP: Click on subject to list as thread! ANSI
echo: cbm
to: ArcadeAge
from: Lawrence Woodman
date: 2018-12-14 18:41:28
subject: Re: Day 6 of Advent of Code in Commodore 128 Basic

On Fri, 14 Dec 2018 10:30:59 -0800, ArcadeAge wrote:

> On Friday, December 14, 2018 at 6:53:16 PM UTC+1, Lawrence Woodman wrote:
>> On Fri, 14 Dec 2018 05:21:40 -0800, ArcadeAge wrote:
>>
>> > On Friday, December 14, 2018 at 12:30:49 PM UTC+1, ArcadeAge wrote:
>> >> On Friday, December 14, 2018 at 8:21:52 AM UTC+1,
Lawrence Woodman wrote:
>> >> > Hello Commodore fans,
>> >> >
>> >> > You may have heard of the Advent of Code challenge. 
For a bit of fun I
>> >> > decided to do day 6 of the challenge on the
Commodore 128 using its built
>> >> > in Basic.  It took days to calculate but it was
great to be able to
>> >> > complete it on this machine.
>> >> >
>> >> > If you're interested here it is:
>> >> >
https://techtinkering.com/articles/advent-of-code-2018-25-days-25-languages/#day6
>> > Ok, there are enough data, but line numbers are re-used,
overwriting previously entered code. Easy to fix.
>> > VICE running at ~4000% -- faster than any SuperCPU, I guess.
>>
>> I'm glad you noticed that.  I never noticed because I used petcat to
>> create the .PRG so it wasn't a problem.  I have just gone back and
>> changed the code.  Thanks.
>>
>> 4000% wow, my machine must be getting old, the most I've managed on
>> vice is about 480%.
>>
> More likely you're running VICE with all the bells & whistles on.
> Switch off sound and true drive emulation (and anything else that's
expensive to emulate).
> As I had to learn today, percentages are (of course) relative. The
program runs even faster in 80 column fast mode, although the percentage is
then only 2500 -- relative to 2 MHz, that is.


That's really interesting. I turned sound off and suddenly it's
running at just over 3300% when running 80 column in fast mode.


Lorry


---
https://techtinkering.com - Retro Computers, Programming and General
Technical Tinkering

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
SEEN-BY: 57/0 153/250 267/800 317/2 393/68 633/0 267 280 281 412 712/848 770/0
SEEN-BY: 770/1 3 100 340 772/0 1 210 500
@PATH: 770/3 1 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.