The hobbit: developing the parser

The place for codemasters or beginners to talk about programming any language for the Spectrum.
MrPixel
Microbot
Posts: 170
Joined: Sat Mar 24, 2018 7:42 pm

Re: The hobbit: developing the parser

Post by MrPixel » Wed Apr 11, 2018 5:13 pm

one last thing. i sent a few sna. files to the admin and he has been having trouble opening them. is there a way to convert sna. files to a form that he can open? i send them and he said that it just wouldn't open. i tried Zip files, i tried tzx, no result. any ideas?
0 x

User avatar
PeterJ
Site Admin
Posts: 1348
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: The hobbit: developing the parser

Post by PeterJ » Wed Apr 11, 2018 5:29 pm

Which emulator are you creating them from @MrPixel.

Talk us briefly through the process you are following. Can you load the files back into your emulator?

The ones you sent us seemed to completely crash Fuse and lock my PC which was very impressive!

As @Nomad said get yourself a Dropbox account and share the file here.
0 x

User avatar
R-Tape
Site Admin
Posts: 2592
Joined: Thu Nov 09, 2017 11:46 am

Re: The hobbit: developing the parser

Post by R-Tape » Wed Apr 11, 2018 7:26 pm

MrPixel wrote:
Wed Apr 11, 2018 5:13 pm
one last thing. i sent a few sna. files to the admin and he has been having trouble opening them. is there a way to convert sna. files to a form that he can open? i send them and he said that it just wouldn't open. i tried Zip files, i tried tzx, no result. any ideas?
I didn't see a .sna file, perhaps an email got buried. I only got the .TZX with no code blocks or header.

Feel free to email me another snapshot (in your emulator of choice with the BASIC visible or the game running properly, go Save As, and pick one of the snapshot options). When you email let me know what kind of game it is (ZX81, 48K)
0 x

MrPixel
Microbot
Posts: 170
Joined: Sat Mar 24, 2018 7:42 pm

Re: The hobbit: developing the parser

Post by MrPixel » Wed Apr 11, 2018 9:35 pm

i sent it
0 x

User avatar
jmk
Berk
Posts: 23
Joined: Mon Nov 13, 2017 2:23 pm

Re: The hobbit: developing the parser

Post by jmk » Thu Apr 12, 2018 1:14 am

I helped to debug the Dragon/CoCo (6809) port of The Hobbit and I have to agree that the code is unintuitive.

It would be a difficult task to convert the code from Z80 to 6502, certainly not a task for a beginner. However, there are conversions of The Hobbit to 6502-based systems like the C64, Apple 2, BBC Micro and Oric. If you can find the source code to any of them, that would be a much simpler task.
1 x
Just like before, it's yesterday once more.

MrPixel
Microbot
Posts: 170
Joined: Sat Mar 24, 2018 7:42 pm

Re: The hobbit: developing the parser

Post by MrPixel » Thu Apr 12, 2018 3:26 am

i'd have an easier time writing a better basic for the commodore vic 20 to be honest. i;ll save the porting jobs for when i have more experience
0 x

User avatar
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: The hobbit: developing the parser

Post by Nomad » Thu Apr 12, 2018 4:32 am

Image

:shock:
0 x

MrPixel
Microbot
Posts: 170
Joined: Sat Mar 24, 2018 7:42 pm

Re: The hobbit: developing the parser

Post by MrPixel » Thu Apr 12, 2018 3:11 pm

Nomad wrote:
Thu Apr 12, 2018 4:32 am
Image

:shock:
:?:
0 x

spectron
Berk
Posts: 22
Joined: Thu Mar 29, 2018 2:27 pm

Re: The hobbit: developing the parser

Post by spectron » Thu Apr 12, 2018 3:12 pm

You might want to take a look at this:-

http://members.aon.at/~ehesch1/wl/wl.htm

"WILDERLAND (WL) allows you to see what's REALLY going on in this wonderful world created by Veronika Megler and Philip Mitchell in 1982 at Melbourne House. It runs the original game code in a rudimentary Spectrum emulator, while displaying the state of objects and animals, the current positions of the latter, and a log what all the other creatures (NPC) do while Bilbo is in one place. "
2 x

User avatar
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: The hobbit: developing the parser

Post by Nomad » Thu Apr 12, 2018 3:32 pm

MrPixel wrote:
Thu Apr 12, 2018 3:11 pm
:?:
Your plan is to create a optimized version of BASIC for a machine with ~3k or free memory (stock).

Sure you have the whole Jack T biz deal to explain why commodore basic sucked so bad but you got to ask yourself 'what benefit would years of work revising vic-20 basic get me?) A custom rom project.. People tried that before on retro systems and after a ton of work usually they are the only ones that ever use these optimized BASIC roms.

Why not just write a program for the VIC-20 if that is what you want to do? instead of doing something that strikes me as underpants gnome logic.

Image

You got to think of the community associated with a system - ZX Spectrum people are some of the most welcoming and tolerant of beginners, plus they have active forums. At the other end of the field Commodore. Atari is somewhere in the middle.

It's totally your choice what you decide to do fella - it just seems to me to make a whole lot more sense to stick around, design a program with a game editor and get some experience under your belt. Then you will have a better idea where to go next. You want to develop for different systems go for it but you got to factor in tolerance of beginners that don't exhibit savant level skills in the community. :lol:
3 x

Post Reply