TTFn boredom

24

Comments

  • I did on some accosions but there stil was such a lot of type work that i did started just typing a gain.
    most of the time i use fuse and then use the MGT disc print routines to print it to "paper".
    I very often check for typo's by just running the prog.

    BUT, if your scans are GOOD and have strict b/w outline, it should work. btw, some magzines took measure with that and have funny greyscale which will give a moire-effect
    while copying, so "in practics it often differs" , free translation from "de praktijk is weerbarstig"

    89cd00978963c2afddaa233f8923131c.jpg
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • btw, neiter EightyOne nor Spud81 works on my qt4wine install, maybe i need extra dlls
    that means, for now, i only do spectrum type-ins
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • Is there not a native ZX81-capable emulator for Linux? There must be. If you can get ZEsarUX to work better than I can, then surely that'd be the one to go for, provided it can crank up the speed to 10-20 times the standard (which helps no end with entering long listings as the screen scrolls... very... slowly). In fact, I'll load up Lubuntu in a mo and see what I can find...
  • edited March 29
    SZ81 for both windows and linux can be found here.

    http://rullf2.xs4all.nl/sz81/

    It's a simple 80/81 emulator which is less bug ridden than Eighty One and unlike ZEsarUX doesn't screw up certain applications for the 81 (AY tracker, compiler, STC player, demos etc) and has a much simpler interface that doesn't involve 10000 nested menus.

    Ignore it's keyboard interface as every thing you need to do is available via function keys and for say loading programs just key in load as per real 81 and a menu appears that is mouse operated for simplicity.

    Works well in Lubuntu and is fast enough even on my crappy Intel Atom notebook.
    Post edited by moggy on
    Thanked by 1Crisis
  • edited March 29
    moggy wrote: »
    SZ81 for both windows and linux can be found here.

    http://rullf2.xs4all.nl/sz81/
    (,,)
    Works well in Lubuntu and is fast enough even on my crappy Intel Atom notebook.

    and on debian well as well, 'make clean' to start with? ok 'we can make it'
    i have a working zx81 emu !!
    i can try 'bat 'n ball' now, if no-one beats me here , winkwink-saynomore-saynomore
    https://archive.org/details/sinclair-programs-33/page/n31/mode/2up

    ps
    i seem not to be able to reach certain keys... eg how do i get to 'SGN' ?
    I tried the Graphs and with the shift i get inversed numbers, not inversed grafics, is that correct ???

    10 LET VV= SGN PI

    hmm
    thats were i got stuck, already.
    Post edited by Crisis on
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • edited March 29
    Press shift and the newline/function keys together and the cursor will change to "F" then press the f key which has the SGN function on it.
    Post edited by moggy on
  • moggy wrote: »
    Press shift and the newline/function keys together and the cursor will change to "F" then press the f key which has the SGN function on it.

    Thanks, i would swear i tried that combination, but it does work now for sure.
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • my first 5 progs
    i posted two above already
    now its the full monty of 5 progs
    http://www.cborn.nl/zxfiles/SP8507w033_p32p52p53march2020.7z

    , but there are 15 Spectrum prog is this issue i think, so 4+5 = 9 , 6 to go ?? lets check it out
    oh, no zx81 yet although now i do no about the SGN of PI. or was that another thread some were???
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • How are you BB? some of the games are 2 keys only, hope you can enjoy them.
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • btw, is there a little chance that you make the big green title in top of the page into a "home" link to http://www.users.globalnet.co.uk/~jg27paw4/type-ins/typehome.htm
    if i bookmark the 'name page' , then i dont have a 'back' button.
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • If there's no 'back' button within a page just use the browser's 'back' arrow or Alt+LeftArrow (in Firefox).
  • can you build it in? if i open that name html, like 'spectrum programs' there is no browser back button. i ended up shortening the url until there was a html again. i can make more bookmarks aswel but if the green name banner on top leads to the magazine choise page with an instant link that would be an easy short cut to handle with.
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • Hi, still bussy with Spectrum Programs w33 i am typin in Ghostchase p 37, which i actualy finished exapt for the 2 episode text part of this tutorial for Machine Code.
    It has severall bugs in the BASIC and now i wonder if there are any erata for Spectrum Programs. I dis look in the 2 next episodes, but it did not read every article.
    Is there anything known of erata for faulty published typ-in's ??
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • edited April 3
    For the multi-format mags I prepared the file listed below (just for the Sinclair type-ins). For the Sinclair mags I prepared something similar, but I can't remember what it's called or where it's at. I checked all of the relevant directories on my backup laptop (I'm not at home at present) but I couldn't find it.

    TYPENOTE.TXT

    TYPE-IN CORRECTIONS CROSS-REFERENCE
    ===================================
    CV : COMPUTER & VIDEO GAMES
         ----------------------
    Dec'81     p.7    (Nov'81 City Bomb)
    Feb'82     p.6    (Jan'82 Mole)
    Mar'82     p.11   (Cosmos Landing)
    May'82     p.9    (Cosmos Landing; Apr'82 Poker)
    Aug'82     p.13   (Jul'82 Microvaders, Pontoon)
    Oct.82     p.12   (Sep'82 Mini Defender)
    Nov'82     p.7    (Jul'82 Microvaders)
    Aug'83     p.27   (May'83 Canyon Lander)
    Feb'83     p.5    (Jan'83 Aztec Tomb)
    Sep'83     p.108  (Jul'83 Krazy Kong)
    Nov'83     p.121  (Sep'83 3D Escape; Manhattan Invasion)
    Jul'84     p.132  (May'84 Micropoly)
    Jan'85     p.5    (Aug'85 Dive Bomb)
    Aug'85     p.42   (Hunchy, Jun'85; Pyramids of Aaron, May'85; Creepy Crawly, Apr'85)
    Sep'85     p.110  (Rockfall, Book of Games)
    Oct'85     p.39   (BoG Jul'85 Rockfall)
    Jan'86     p.50   (Poker, Nov'85; Injun Jim, Nov'85)
    May'87     p.45   (Touchdown, Feb'87 Book of Games)
    
    
    HW : HOME COMPUTING WEEKLY
         ---------------------
    26.Apr'83: p.10   (22.Mar'83 DOMAC)
    26.Jul'83: p.41   (12.Jul'83 Brain Trainers)
    20.Dec'83: p.47   ( 1.Nov'83 Guy Fawkes)
    31.Jan'84: p.33   (10.Jan'84 Name & Address Book)
     7.Feb'84: p.28   (13.Dec'83 Apeman)
    13.Mar'84: p.27   ( 6.Dec'83 Renumber)
    17.Apr'84: p.16   (28.Feb'84 Climber)
    24.Apr'84: p.39   ( 3.Apr'84 Mind Your Head)
     6.Nov'84: p.31   ( 9.Oct'84 Lost)
    30.Jul'85: p.42   (16.Jul'85 Flags of the World)
    
    
    PC : PRACTICAL COMPUTING
         -------------------
    Apr'83:    p.16   (Jan'83 Alphabetical Listing)
    
    
    PG : PERSONAL COMPUTER GAMES
         -----------------------
    Feb'84:    p.11   (Summer'83 Blaster - complaint about poor quality listing)
    Jul'84:    p.13   (Jun'84 The ABC of Invaders)
    
    
    PN : PERSONAL COMPUTER NEWS
         ----------------------
     2.Jun'84: p.8    (28.Apr'84 Cassette to Microdrive)
     6.Apr'85: p.60   (16.Mar'85 Spectrum RS-232 Screen Dump)
    27.Apr'85: p.9    ( 9.Mar'85 Spectrum Disassembler)
    
    
    PW : POPULAR COMPUTING WEEKLY
         ------------------------
    16.Sep'82: p.6    (29.Jul'82 Meltdown)
     4.Nov'82: p.7    (30.Sep'82 Tunnel)
    16.Nov'82: p.7    (28.Oct'82 Donkey)
    27.Jan'83: p.7    ( 6.Jan'83 Barcharts)
    10.Mar'83: p.7    (24.Feb'83 Compiler)
    23.Jun'83: p.7    (19.May-2.Jun'83 The Pit)
    14.Jul'83: p.7    (19.May-2.Jun'83 The Pit)
    18.Aug'83: p.7    (21.Jul'83 Beltman)
    22.Sep'83: p.7    ( 8.Sep'83 Solution of Quartic, Cubics & Quadratics)
    29.Sep'83: p.7    (15.Sep'83 Word Processor)
     9.Feb'84: p.7    (12.Jan'84 Newton's Laws of Motion)
    15.Mar'84: p.7    (16.Feb'84 Z-Fred)
    10.May'84: p.7    (19.Apr'84 Character Generator)
     2.Aug'84: p.7    (28.Jun'84 Moonlander)
    29.Aug'85: p.6    (correction to Simon Nichols Spectrum listing from vol.4 #33/34)
    12.Jun'86: p.4    (22.May'86 Peek & Poke)
    28.Aug'86: p.11   (UXB)
    20.Nov'86: p.10   (25.Sep'86 Wobbling Jellies)
    11.Dec'86: p.8    (UXB)
               p.9    (Jun.19'86 Demolition; 21.Aug'86 Romans)
    29.Jan'87: p.11   (correction to data loader for Spectrum+2 disassembler)
    31.Jul'87: p.5    (Soccer Boss, aka. Game of Two Halves)
    14.Aug'87: p.4    (31.Jul'87 QL CAT)
    
    
    YC : YOUR COMPUTER
         -------------
    Jun'82:    p.13   (Apr'82 Adventure Writing Kit, ZX81)
    Jul'82:    p.15   (Jun'82 ZXMinbug, ZX81)
    Sep'82:    p.17   (Jul'82 Alien Attack, ZX81)
    Oct'82:    p.15   (Aug'82 Dungeons, ZX81; Speedball, ZX81)
    Nov'82:    p.15   (Oct'82 Spectrum Assembler)
    Dec'82:    p.19   (Oct'82 Word Puzzles)
    Jan'83:    p.27   (Dec'82 Flight Simulator)
                ""    (Nov'82 ZX81 Program Name, p.110)
                ""    (Nov'82 One-Liner, p.25)
    Mar'83     p.28   (Jan'83 Hopper; Feb'83 Snake; Feb'83 Maze Chase)
                ""    (Jan'83 Slide Show)
               p.29   (Jan'83 ZX81 Life)
    May'83:    p.28   (Mar'83 Maze; Apr'83 "Animate" (Multicoloured Invaders))
    Jun'83:    p.45   (Apr'83 Unifile)
    Jul'83:    p.40   (Jun'83 Editor)
                ""    (Jun'83 Spectrum Speaks)
    Aug'83:    p.41   (Jul'83 3D Graphics)
    Sep'83:    p.39   (Jul'83 ZX81 Swap; Aug'83 3D Graphics letters)
    Oct'83:    p.46   (Aug'83 ZX81 Cassette Files)
                ""    (Mar'83 ZX81 Editor)
               p.47   (Aug'83 ZX81 Compiler; Sep'83 Sea Mines; Sep'83 Balloon Hopper)
    Nov'83:    p.52   (Oct'83 Fill; Jul'83 3D Graphics)
    Jan'84:    p.52   (Dec'83 Skyshield(?); Nov'83 ZX81 Merge; Jun'83 ZX81 Quick Load)
               p.53   (Nov'83 Spectrum Assembler/Editor)
    Feb'84     p.44   (Nov'83 Maggot Stomp; Dec'83 Skyshield)
               p.45   (Jan'84 Spectrum Cloning; Jan'84 Plane Annoying)
    Mar'84:    p.44   (Jan'84 Sprite Designer; Feb'84 ZX-Draw)
               p.45   (Feb'84 Fast Lander; Dracman)
    Apr'84:    p.44   (Mar'84 ProgAid)
    May'84:    p.42   (Apr'84 Toolkit; Mar'84 Progaid)
               p.43   (Apr'84 Multi-Programming; Apr'84 Laser Duel)
    Jun'84:    p.42   (Mar'84 Pac-81)
               p.43   (May'84 Tapesys/Quickload (2); Apr'84 Betta Basic; May'84 Speech)
    Sep'84:    p.32   (Jul'84 ZX-Panel; Jul'84 Bipods)
               p.33   (Jul'84 Beanstalk)
    Nov'84:    p.40   (Sep'84 ZX81 Sprite BASIC)
               p.41   (Sep'84 Crazy Ape (Barrel Barrage))
    Dec'84     p.48   (Dangerous Gardens)
    Jan'85:    p.40   (Nov'84 Zoom; Nov'84 Aliquid Simplex)
               p.41   (Dec'84 Telsoft; ZX-81 High-Res)
    Feb'85:    p.23   (Jan'85 Space Evaders)
    Mar'85     p.25   (Newsmonger)
               p.27   (Dec'84 ZX81 Monster Digger; Feb'85 Synsounds; Spraymania)
    Apr'85     p.35   (Mar'85 Invisible Toolkit; Securifile)
    May'85     p.27   (Screen, Apr'85, ZX81; Windos, Dec'84-Jan'85, Spectrum)
                ""    (QL Tutorial, Apr'85, QL; Singlestep, Apr'85, Spectrum)
    Jun'85:    p.27   (May'85 Snakes Alive)
    Jul'85:    p.19   (Jun'85 Sprite Editor; Top Tips; "D Rockley's listing"(?); Wizard's Castle)
               p.19   (May'85 Snakes Alive)
    Aug'85:    p.19   (Jun'85 DisMon?)
               p.21   (Jun'85 Multi-Font; Jul'85 Backboogie)
    Oct'85:    p.21   (Sep'85 MIRA; Snakes (May'85 Snakes Alive?))
    Nov'85:    p.29   (Aug'85 Screen Dump; Oct'85 Impulse)
    Dec'85:    p.27   (Nov'85 Drawer)
    Apr'86:    p.69   (Jan'86 Transdisk(?))
    
    -- End of File --
    Post edited by Battle Bunny on
  • ...so there's been a cubic equation solver out there all this time, and I was trying to write one myself - and this one will handle quartics as well?

    Smeg!

    I'll bet the listing's a bit like Spacman 2 from Sinclair Programs: "...at the cost of a listing that needs only to be tied around a Labrador puppy's neck to resemble an Andrex advert", or words to that effect.
  • Hi, so the SP erata is some where on your desktop. ok. But if they are Not yet types, i supose there is no erata yet.
    then we have to deliver ourselfs.

    @Mighty whats a cubic eqution solver?
    oh FOUND IT
    https://www.calculatorsoup.com/calculators/algebra/cubicequation.php
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • edited April 3
    ...so there's been a cubic equation solver out there all this time, and I was trying to write one myself - and this one will handle quartics as well?

    Smeg!

    I'll bet the listing's a bit like Spacman 2 from Sinclair Programs: "...at the cost of a listing that needs only to be tied around a Labrador puppy's neck to resemble an Andrex advert", or words to that effect.

    There's been higher maths programs for the 81 since day one ( I have a ton of them) which the little door wedge being a computer wasn't too bad at but usually ignored in deference to games playing which it was very bad at.

    Polynomial,quadratic,linear,high factorials, algebra etc all there if you know where to look.
    Page 28 here for the story below...

    https://www.yumpu.com/en/document/view/9113870/zx-computings-openlibrahttps://www.yumpu.com/en/document/view/9113870/zx-computings-openlibra


    Frank O'Hara a maths wizard duplicated on the ZX81 in 1982 with a two and a half hour run time what a Cray mk1 took two months to do in 1979, that is calculate the highest prime number for the time which ran to 13395 digits.
    The print out was 7 feet long and took fifteen minutes to print which is unusual insofar as Sinclairs little spark and wheeze printer would usually be in bits after five minutes use.

    The program mentioned in the article, SPRF, is actually in the type fantastic archive and it's easier to load the P file than typing out the listing, found here...

    http://www.users.globalnet.co.uk/~jg27paw4/type-ins/zx-comp/zx_name8.htm
    Post edited by moggy on
  • edited April 3
    Looking for Frank O'Hara i see only 3 entry's in infoseek but i come up to an american site with the magazine 'Syntax'
    https://www.timexsinclair.com/tag/frank-ohara/
    https://www.timexsinclair.com/periodical/syntax/
    Post edited by Crisis on
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • edited April 3
    Crisis wrote: »
    Looking for Frank O'Hara i see only 3 entry's in infoseek but i come up to an american site with the magazine 'Syntax'
    https://www.timexsinclair.com/tag/frank-ohara/
    https://www.timexsinclair.com/periodical/syntax/

    He occasionally wrote for ZX Computing as per the example I posted above and a few other UK publications as well as the odd article for the American magazine, Sync. He also co-authored the ZX81/Spectrum ROM disassembly books with Ian Logan.

    Post edited by moggy on
  • LevelUp wrote: »
    The reason I ask is that I've used ocr for a similar purpose yesterday.
    I took a screengrab of a hex prog, used online ocr to change it to text, then pasted it into Excel and used vba code to convert the hex into program instructions. It worked very well although one or two corrections were needed (S -> 5, I ->1)

    I might have a bash tomorrow and see what the result is like.

    Hi, did you have a try?
    i just did with 'gocr' under debian ...
    it needs much better images or i need a pre-polising' routine to wipe out the greyness
    its very much rumbly:
    chris@cb:~/Desktop/zx/TTf/SinclairPrograms$ gocr -i SinclairPrograms33-Jul85_0038.jpg
      trying pxH-fix by Hxp -15 -12   0   3
    #  trying pxH-fix by Hxp -15 -12   0   3
    #
    #  ... found DOUBLE_LOW_9_QUOTATION_MARK__pG_Tf__ ttl_t,l_0lv_l_s_te,__l  mfy,___o0___,_rer  ppo__n_c_e_hrc3_____0_eJ0____
    
                                                                             __-
    
                     ceJ_e1_
    
        _                                           The next paiJt_ to enter and
                                                   check is the subrouiu1_e which
                                                   sels up the screen (un' th_ case J
                                                   by p_nling.the m_e). I_nes 50O_
       _                                           _ogo do th_s. wit_ t_e gTa_p_ics
                                                   _eady set up _ memory, you
                                                   wii_l see the maze emerge as you
                                                   enter the two P_NT statements,
           .                Now enter ho_ two. When which wil_l help you to conect
     Ony R1ClkWOOd dem- entejng a long Basic progpm. I _y mistaJces as they _e made.
    onslj__tgs  how  much _d that the best pl_ _ to st_ by Now type Rm 6O00 to m_e sure
     aetg_ _ g_mg wjv_' wo_k entering aind tesW1_' g the paLJt Ulat Ule maL2e is printed complete
            . .           w_ch se_ up U1_e User De_ed wilh dots _d power pil. ls. Yo. u
    When B_61C IS _e_l_Ced Gra_p_cs. Ttw _ cont_gd u1_ should have evgyt1w1_g 1n wh_tg
    by m_chUie code in lun- es 6ooo onwuds. Now RuN on a black back9Jr_ound.
    kgy aur_g_s.              lhis p_ (do nol wory _oul Ule_   ,';_;..'..   ,_,_;..,..   ,'_„'..'..   ___._..'..
    _ RE_N WI_OUT GOS__  ____eo__o ;;'.: __e__,e__ ;.;.'; ________ ‟_.'; _______,oo;';.:
                           message) u1_d go u1_to gnrap_cs  8,,_,_",_,_,_",_",_,8 _",__',_,_',_,_,_,8 _",_,_,_,_,_,_",_8,  _,,_,_,_,'_,_,_,'8,,8
                           mode (CapsJ9). PTe_u1_g _y let-  _o'_8_,  _"8_8'"0_  ___"0_  0"_"__"
     _ YOU have foJUowed thi_s ter bom a lo u wiU demon_te   As the way lhe pro_ wor_
     sejes on mac1Wne code so fu. that _l 2 l UDGs have been used. depends on difEerent objects hay-
    you wiJl_l by now, be _' g to go G_phic letters a to n _e for U1e ing different coloun. these _e
    with some p_ctic_ games app_- m_e w_s, o to u _e for Pacm_ best put u1_to the PRINT state-
    ca%ons. lVlost commerci_ games (mo1nLn- g in fo_ duections). ments uiung colour con_ol ch_-
    _g lOOO/o mac}W1_g codgd fo, ghosts, powgr piUs, and do_.    acte_. The colouls you IM[U59C_
    speed _d _' ati_on qu_ty, but
    it would be much too _i_ous
    fOrustOpresentandexpl_' what           lO REm m_ching Codg S_tup f_r
    mu'ght!be_enormo__ennbler         @h_og_tchggg _ Tan_y R;ckw0_
    _SW`' gU`?ese EewPages.               2o cLeAR_ 63ggg, LeT __o, F0R ;
     A much more pii_c_caU ap         _qooo T0 6q_9g_ aE_AD n, paKE _,
    proachistoseehowa___onaU         n_ LET g_g_n_ MExT ,.           '
    mazetyrpegame.9an__enun_ic.
    c_ bg madg muc_ mo_g fv_n to           30 _AD _UlAf IF _ _> _U_ THEN
    p_y by ,gplac_g somg of t_g          PRINT, "grror _f1_ d_X_ 0ntry" , `ch
    rouan' g basic pro_rcwn_' g wiU1         0ck lifll_ 90_: 5TOP
    machXl_ecode.AdJnu'tte_y,maLzg           90 DATA 97,107,98,l08,99,109,1
    games _e a bit old hat now, but         iO, 1l0, 101, 111, 102, 112, 103, 113, l
    _e game I will be presentJLn' g         Oq,11q,_2o,_21,g7,gg,gg,10o,101,
    hereh_beenspeci_ywn_ento         lo2,lo3,_o9,o,t2_,33,o,29o,6,B,2
    _ve readen a _e oppomrU__ to         o5, 153, 250, 126, B7, 221 , n, 2o5, _93
    , _,____,., ,__o__,.., ,_0____.., ____'_,'          ,2SO, 119,221_39, 16,24I,t0__, 193,t
     _'"_'_'__,__'o"___"'_"_' __'"__"_"_"_8"'_e __'"','"o_"_og_"'"'o,"__'"o_",_"o__'o_,_"''         50t70,t2l,3_,2O_,l93,_Ol7_'221,
     ,_,_,_'__,_o, _,,,_,'gg_,, ,,,_,_,_,'_,', _',_',_'_,__,'_,,          3R5t_1t lt6,0,2_,O,2OOtt09, 153,t
    
    ,gg ataglan_ce ;u,thowmuch         50,9_,221,35,205,153t250,86,Z2I_
    bengc t_ B__c m/c _g_ly _s.          _3, 120t l97, q0, Z8, 96, l 1, 28, 105, l6
     At U1_e touch oE a key, you ww        9_ 29O , 2SQ
    be able to get yow SpecaN_m to           50 DATA 6, 32, _9, t9, 24, 19, t9, 20
    tkow out a l_ge chu_ of B_ic         5, 169, 2_0_ 254, 6, 3t, 3, 28, 29, q, t09
    and caU in a m/c routine instead.        , __3, _o, 1 1s, 221, 3_, 121, _q6, qo, 2
    _e for younelf how much more         g, _6, _ _, 2o, 2o_, 16g, 29o, 25q, 6, 32,
    ener9y_ a _et of power pws _d         1q, j_, _q, 1s, j1, 2o_, _6g, 2_o, tg_, 6
    mJc 9%_ _ve Pa_aU1_ aU1_d U`_e          3j 3 jo jq q jaes __3 j9o _1q jj
    Eourghoe_.í 35jo5' 16ġj5o_jq 6'jqí63ígj
     F_' , enter _d Nn ho_          qj jg gj _ j0o ȧ jj_ ' _j6 o '
         t                         l  l  t  t l   l l   l   l l   l
    mac_gcodgu1_tomgmory_ staJj_.         t77,39,35,193,2O_1,213,t97,33t0,8
    in_gatloca1j_on6gOOo(t_ggameis         8,75l90,2tl0l6,5lt03l39l203,l_1l
    dgsi_gd fo, _g q8_ Spec_m).         6, tYi_, 1t3t 137, 98, 1, 201 99, 29, 126,
    As a qrr_ong nunnber may cau' sg         l93, t09, t0l, 209, 20l , 22690
    thecomputerto_h.acheckis           60 PRINT "Dat_ g_try o,k"'"nii_/c
    l1w_de to m_e s_e da_ _ en-          now r__dy for running"_ STOP
     tered conecUy. When you have           7o sAvE " GiC_oDE " c0DE 6qooo , 1 gg
    got ?e "data eniy o.k." mes-
    sage.5AV1Eprogran l totape.
    
    
                                                       conllLn_' u_d on pii__e 4O ._o___,,_,__'__ '__o
    chris@cb:~/Desktop/zx/TTf/SinclairPrograms$ 
    
    
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • Ye gods.

    After an 11-day programming marathon - for an enormous Crap Game (the tape is 85K) which should be hitting the pages of CSSCGC in about a week or so - I can go back to typing in other people's programs!

    Looking at the evidence above, I'd say the OCR route is a non-starter...
  • edited April 9
    Here's what I got using the same page as Crisis:

    10 REM Machine Code Setup for Ghostchase e Tony Rickwood
    20 CLEAR 63999: LET 5'1E01 FOR i =64000 TO 64198: READ n: POKE
    nt LET s=s+n: NEXT i
    30 READ sum: IF s <> sum THEN PRINT, "error in data entry"'"ch eck line 40": STOP
    40 DATA 97,107,98,108,99,109,1
    00,110,101,111,102,112,103,113,1
    04,114,120,121,97,98,99,100,101, 102,103,104,0,221,33,0,250,6,8,2 05,153,250,126,87,221,35,205,153 ,250,114,221,35,16,241,205,153,2 50,70,221,35,205,153,250,78,221, 35,221,12610,254,0,200,205453,2 50,94,221,35,205,153,250,86,221, 43,120,147,40,28,56,11,28,205,16 9,250,254
    50 DATA 6,32,14,29,24,15,29,20 5,169,250,254,6,32,3,28,24,4,205 453,250,115,221,35,121,146,40,2 8,56,11,20,205,169,250,254,6,32, 14,21,24,15,21,205,169,250,254,6 132.3,20,24,4,205,153,250,114,22 1,35,205,169.250,54,6,24,163,197 ,42,75,92,1,200,0,221,126,0,237, 177,35,35,193,2011213,197,33,018 8,75,90,22,0,6,5,203,35,203,18,1 6,250,123,137,48,1,20,95,25,126, 193,209,201,209,201,22690
    60 PRINT "Data entry o.k"'"m/c now ready for running": STOP
    70 SAVE "GCODE" CODE 64000,199

    How I did it:
    Locate page with code on
    Save page as jpg format graphics file
    Clip page using graphics editor so only code showing
    Upload clipped jpg to www.onlineocr.net
    Convert to .doc format
    Et voila! (This took 5 mins)
    Edit to add: As you can see, it's not perfect but better, perhaps, than typing the listing in by hand?
    Also, I check by using the sound recorder on my phone. I say the listing then run the recording back and compare to the ocred result.

    Clipped jpg
    Post edited by LevelUp on
  • edited April 9
    Double post
    Post edited by LevelUp on
  • edited April 9
    Hi LevelUp , well, thats a 95% hit or even better.
    What do you mean with 'Clip page using graphics editor so only code showing'
    do you mean select the block with the program lines only?
    i did do the whole page, thats true. thats more different fonts.
    and every thing is online nowaydays.
    now i want to print my hot coffee without suger ...

    ps
    you linked your clippin, ok clear


    Post edited by Crisis on
    my old website http://home.hccnet.nl/c.born/ has changed to http://www.cborn.nl/zxfiles/ so just click it and select a file
  • Oops, I edited the post several times and still missed some info:
    I saved the page with the code listing by right clicking and selecting Choose Image As.
    For some formats, this is not possible (such as PDFs). If this is the case, I use the PrintScreen button on my keyboard to copy the page then open a graphics editor and paste the page into that. From here, I use the process above, clip, ocr etc
  • And here we go!

    69 listings remain to be completed from Sinclair User - not 61, because I forgot the annuals. 58 of them are for the Spectrum... and 11 are for the QL! I hadn't bargained for that. Still, I do have an old copy of QemuLator on my hard drive, somewhere, or maybe I'll get ZEsarUX to work at some stage... that should have QL capability. I suppose now is as good a time as any to learn what the Spectrum's alleged successor can do...
  • Grrr, snarl, froth. This was supposed to be painless!

    One of the programs I'm typing in - Refuelling from Sinclair User, November 1983 - uses some machine code. Unfortunately, this is the bit of the listing that has suffered the most with poor print quality from the original magazine and the high JPEG compression from when it was scanned and stored.

    https://archive.org/details/sinclair-user-magazine-020/page/n83/mode/2up

    The problem is in lines 1220 and 1230, usually where it's damn near impossible to tell the difference between a 3 and an 8. I've looked up what 33 and 38 mean, and it's "LD HL,NN" and "LD H,NN" respectively. Brilliant. They're not even all that different.

    Any experienced machine coder would shove those numbers into a disassembler, see in an instant that it's either correct or outrageously wrong, and correct it accordingly. I could get the disassembler running, no problem - I've got one from a later issue of SU in the Type Fantastic file, just in case I need it, but the listing of menmonics it spits back at me may as well be in Chinese for all I understand. All I know is, because a couple of REM statements told me so, each DATA line contains the bytes to make a sound effect.
  • I think both are 33.

    ld hh,nn would translate to 33,xx,yy and its is followed by opcode 17 that is ld de,nn... that makes sense.

    ld h,nn would translate to 38,xx and would be followed by opcode 0... a nop (followed by 17,xx,yy). It would be possible but most programmers wouldn't waste space in nops unless necessary.
    I was there, too
    An' you know what they said?
    Well, some of it was true!
  • You are right - and over on t'other forum, djnzx48 produced the full DATA lists and a disassembly, so ...205,1?1,?,225... in the first DATA staement, which would have required a whole load more guesswork, has been revealed as ...205,181,3,225... and to my not-exactly-surprise, these are two sound effects I've heard before.

    Either way, you may have a corned beef sandwich for your help, and a credit in the text file for this program.
  • And here we go!

    69 listings remain to be completed from Sinclair User - not 61, because I forgot the annuals. 58 of them are for the Spectrum... and 11 are for the QL! I hadn't bargained for that. Still, I do have an old copy of QemuLator on my hard drive, somewhere, or maybe I'll get ZEsarUX to work at some stage... that should have QL capability. I suppose now is as good a time as any to learn what the Spectrum's alleged successor can do...

    I used QLayW for typing-in QL program listings, with these settings in qlay.rc.
    -r js.rom
    -c 0000c000@nfa.rom
    -l win2@sub2\
    -l mdv1@qlay.mdv
    -p LPT1:
    -d 3
    -L UK
    -f 845
    -w 200
    
Sign In or Register to comment.