Search found 17 matches

by Virtual1
Fri Sep 05, 2025 10:23 pm
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

BigDumbDinosaur wrote:
Every assembler I have ever used has required that labels and symbols start at column 1, and that instructions, equates, etc., start at column 2 or later. 
Clearly, FORTRAN die-hards ;)
by Virtual1
Thu Sep 04, 2025 10:44 pm
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

I'll have to see what I can do to make it more clear. Anything that starts in column 1 (other than a semicolon) should be considered a label, regardless of whether it's followed by a colon or not; but you should still use a colon to make searches easier. A label not starting in column 1 should ...
by Virtual1
Sat Aug 23, 2025 4:19 am
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4943

Re: CRC32 with "nibble" table

well, further research found me https://rosettacode.org/wiki/CRC-32 which conveniently provides 6502 assembly for CRC32. (in addition to an Apple II implementation!)

So I entered that and was a bit surprised to see it run in 3.4 seconds (faster than MY checksum generator), probably due to not using ...
by Virtual1
Fri Aug 22, 2025 8:48 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4943

Re: CRC32 with "nibble" table

It was not about getting a kind of checksum but getting a CRC32 computed as fast as possible on the 6502.

That's why I spoke up, seeing if a "lower quality" checksum would be acceptable, if it could run much faster. I suspect a CRC32 (or CRC16 for that matter) will be much slower than mine ...
by Virtual1
Fri Aug 22, 2025 12:10 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4943

Re: CRC32 with "nibble" table

That's no time at all in this space.

My initial reason for making it is I needed a way to compare operating systems on different disk images. So i was looking for a "nearly instant" checksum on 256 byte blocks. I did actually consider CRC32, but for one a 32 bit checksum on 256 bytes seems like ...
by Virtual1
Fri Aug 22, 2025 2:33 am
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4943

Re: CRC32 with "nibble" table

just wondering, do you NEED it to be THE crc-32 digest, or do you just need something to do a decent job of detecting changes/ comparing blocks?

I needed a basic digest function recently, and coded something that produces what appears to be a good 2-byte digest of an arbitrary size portion of ...
by Virtual1
Sun Aug 17, 2025 5:23 pm
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

I'm a bit late to the party, but welcome Virtual1, well done in constructing and thanks for sharing your unorthodox assembler.

Now that I've been working with it for awhile (and with an Apple IIe emulator instead of Apple ][ ) I've made some improvements to it
- labels can have simple additions ...
by Virtual1
Fri Aug 15, 2025 2:49 am
Forum: Nostalgia
Topic: Apple II DOS source released.
Replies: 3
Views: 2463

Re: Apple II DOS source released.

Y'all need to find and read the bible, Beneath Apple DOS. PDFs available online in various places. https://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Books/Beneath%20Apple%20DOS.pdf is one of them. It's an absolute gold mine of information concerning apples DOS. It doesn't have a ...
by Virtual1
Fri Aug 15, 2025 2:42 am
Forum: Nostalgia
Topic: Running 6502 assembly program on boot for the Apple //e
Replies: 6
Views: 3445

Re: Running 6502 assembly program on boot for the Apple //e

I have a disk which boots a machine code program I wrote. There is the classic "HELLO" file ('cept I named mine "IALIZE") but it's type B instead of type A or I. It runs on boot. Frankly, I have no idea how I did that.

There's a POKE you can do to change the file type it expects when it runs the ...
by Virtual1
Tue Aug 12, 2025 12:46 am
Forum: General Discussions
Topic: Advice Reqd For Tools.
Replies: 18
Views: 5005

Re: Advice Reqd For Tools.

I've been soldering since I was 12, and it's been my experience that the iron is FAR less important than the hand it's in. Name brands just make your wallet lighter. Weller are nice but don't give you much more for the added cost. I used a Tenma for decades. (I've also used my share of butane irons ...
by Virtual1
Tue Aug 12, 2025 12:36 am
Forum: General Discussions
Topic: Re: What is the maximum number of cycles that A0 can be cons
Replies: 6
Views: 2857

Re: What is the maximum number of cycles that A0 can be cons

Welcome. From Table 5-7 of the 65816 data sheet at http://6502.org/documents/datasheets/wdc/wdc_w65c816s_oct_11_2018.pdf (the table also covering the '02), it looks like the longest A0 would stay constant ( not including STP and WAI instructions, or the 816's MVP and MVN instructions) might be four ...
by Virtual1
Wed Aug 06, 2025 11:53 am
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

I'm a bit late to the party, but welcome Virtual1, well done in constructing and thanks for sharing your unorthodox assembler.

thanks! I'm a big fan of "working with what you have". Most people either have Excel or use one of the free alternatives. And for simpler projects or patches, this might ...
by Virtual1
Mon Aug 04, 2025 12:38 pm
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

GARTHWILSON wrote:
I have a list of feature requests for if someone writes an assembler, here.
Hilariously, I think my Excel assembler breaks every single one of your requests
by Virtual1
Sat Aug 02, 2025 11:38 am
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

I opened it in LibreOffice Calc (under Linux), and changed a branch to go do a different label, and it did its job just fine. No Microsoft.

For me the main benefits of an assembler are automatically adjusting the jump offsets, resolving subroutine addresses, translating opcodes, and of course ...
by Virtual1
Sat Aug 02, 2025 4:22 am
Forum: Programming
Topic: Which assembler could I possibly use ?
Replies: 120
Views: 25655

Re: Which assembler could I possibly use ?

(first post, just joined)
Welcome!

...I wrote an assembler... in Excel.
Microsoft! Ugh!!! :D

You might get a similar reaction from others here. :wink:

"work with what you have", right? It's pretty basic, supports jump/branch labels, address/constant labels, calculates branches and jumps ...