Re: [M100] what's the Right Way to code and assemble on model-t hardware

2022-09-08 Thread Dan Higdon
If I'm reading it right, he's using self-modifying code. On Thu, Sep 8, 2022 at 12:03 PM Stephen Adolph wrote: > don't you need to reserve the memory location 56301 > right now it would be an opcode LXI? > > Steve > > On Thu, Sep 8, 2022 at 12:59 PM Charlie Hoey > wrote: > >> Thanks for that K

Re: [M100] what's the Right Way to code and assemble on model-t hardware

2022-09-08 Thread Stephen Adolph
don't you need to reserve the memory location 56301 right now it would be an opcode LXI? Steve On Thu, Sep 8, 2022 at 12:59 PM Charlie Hoey wrote: > Thanks for that Ken! Nice to have confirmation on taht. > > And yeah I found BYTEIT over here on the programming section of the > club100 archive

Re: [M100] what's the Right Way to code and assemble on model-t hardware

2022-09-08 Thread Charlie Hoey
Thanks for that Ken! Nice to have confirmation on taht. And yeah I found BYTEIT over here on the programming section of the club100 archives: http://www.club100.org/library/libprg.html Just in case it's useful to anybody, so far I've ported over an LFSR pseudo-random number generator over from he

Re: [M100] what's the Right Way to code and assemble on model-t hardware

2022-09-08 Thread Joshua O'Keefe
> On Sep 8, 2022, at 9:10 AM, MikeS wrote: >  > What and where is BYTEIT? I hadn't heard of this, either, but a quick Google turned it up on the club100 programming library. The club100 programming library is at: http://www.club100.org/library/libprg.html It lists BYTEIT as "A really good 80C

Re: [M100] what's the Right Way to code and assemble on model-t hardware

2022-09-08 Thread MikeS
What and where is BYTEIT? Thanks, m - Original Message - From: Charlie Hoey To: m100@lists.bitchin100.com Sent: Tuesday, September 06, 2022 8:51 AM Subject: [M100] what's the Right Way to code and assemble on model-t hardware Hey all, looks like the search mig

Re: [M100] what's the Right Way to code and assemble on model-t hardware

2022-09-06 Thread Ken Pettit
Hi Charlie, You need to use BASIC's 'clear' command to set HIMEM. Clear takes two parameters 1) the amount of Variable space to reserve (I believe, though I always set this to 256 and have more than 256 bytes of variables) and 2) the HIMEM value. So you should run the command: clear 2

[M100] what's the Right Way to code and assemble on model-t hardware

2022-09-06 Thread Charlie Hoey
Hey all, looks like the search might be broken in the archives, so apologies if there's a whole thread on this I missed. So I've done some 6502 development, and I have recently been enjoying learning some basics of 8080 assembly on my 100 and 102 using BYTEIT. Very informative to learn a second ar