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.
> >
> > I had to use Vice though as my real machine has a memory fault which I
> > need to get around to solving. The advantage of Vice was that
> > I could easily transfer the code between the emulator and my Linux box to
> > put it in a github repo and on my website.
> >
> > If you're interested here it is:
> > https://techtinkering.com/articles/advent-of-code-2018-25-days-25-languages/#day6
> >
> > Best wishes
> >
> > Lorry
> >
> > ---
> > https://techtinkering.com - Retro Computers, Programming and General
Technical Tinkering
>
> I copied the code you published into VICE and was disappointed to get nothing
but an OUT OF DATA ERROR IN 6050.
> Trying to figure out what's missing, I realized that the site you linked to
merely gives a tiny example that's already solved in place.
> So I guess they give the additional problem data only to those who register
(which I won't).
> Does the challenge consist in writing a fully general solution to the
mathematical problem? Or are they content if your program can solve the given
major problem?
> Would it be a lot of work to devise a problem instance that is too hard to
solve by hand but still can be solved by a standard Commodore 128 within a few
minutes?
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.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|