|
I grew up on 6502 - instead of cereals and milk...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
My first bit of tech was an NES, which did sport a version of the 6502, but there was absolutely no requirement to know what was going on inside. I only went down the path of learning 8-bit computers and assembly so I could get a better grasp at programming fundamentals. Making the emulator has been massively fun and definitely addressed the fundamentals.
|
|
|
|
|
Or Z80? 8080? 8008?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
That's going to be a big No.
|
|
|
|
|
I started out with Z80 and 6809 machine code, there were no assemblers available to me back then. I wrote my first code like this around 40 years ago which was a ROM extension for Basic to control sound and speech hardware. Thinking back and comparing to the likes of modern assemblers or VS I have no idea how I managed it!
|
|
|
|
|
Private Dobbs wrote: Thinking back and comparing to the likes of modern assemblers or VS I have no idea how I managed it!
Maybe you read Dr. Dobbs Journal? I just couldn't help notice that you are Private Dobbs. You wouldn't happen to be a doctor in your spare time, would you?
There was so little documentation back then. It's amazing that devs were able to do the things they did. Very cool story.
|
|
|
|
|
Alas not a doctor although at 18 I wanted to be one. However I am currently working on a medical app if that counts
|
|
|
|
|
When I wrote my first assembler program 25+years ago, I was so proud of being able to speak the computer's "native" language ! Like you could interact directly with its perception of things without the filters of the high level languages.
|
|
|
|
|
Rage wrote: When I wrote my first assembler program 25+years ago, I was so proud of being able to speak the computer's "native" language
Yeah I always remember Bill Gates quote about when they were controlling a PDP-8 or PDP-11 from his school. Then they were in high school and working with a large corporation and writing code for them. He said something like, "It was amazing that we were high school students and we were able to control this machine that was worth millions $$$ that very few adults could even understand and control." It's very true.
|
|
|
|
|
Strangely, x86/x64 is one of the few processors that I've used that I haven't written assembly for... Z80, 68000, VAX, ARM, various other embedded platforms, but never for any PC processors...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: Strangely, x86/x64 is one of the few processors that I've used that I haven't written assembly for..
That is interesting. I guess it makes sense too because x86/x64 are used in PCs and there are a whole host of other tools to use to develop on those platforms. Meanwhile those other ones you mention probably don't have as many dev tools. Interesting.
|
|
|
|
|
ld hl, 3c00h
l1: ld a, (hl)
xor a, 0BFh
ld (hl), a
inx hx
ld a, h
cmp 40h
jne l1
ret
My first assembler subroutine, in Z-80assembler, for the TRS-80. First written circa 1979 and reprinted from memory. Now the tricky part:
21 00 3C
76
EE BF
77
23
7C
FE 40
20 F5
C9
That's my best guess to the machine codes for that. (It steps through the monochrome graphics screen, inverting the bit, changing black->white, white->black on the image.)
UPDATE: I just googled it. The correct machine code would be:
21 00 3C
7E ; funny thing. I wrote 7E on the scrap paper I figured it out on, then wrote 76 here.
EE BF
77
23
7C
FE 40
20 F3 ; relative jump starts counting from the address of NEXT op code.
C9
Truth,
James
modified 10-Feb-21 10:40am.
|
|
|
|
|
|
Takes me back. In the '80s, if you wanted something fast, you did it in assembly language. MASM in those days. I wrote *a lot* of it. I knew this one company who wrote an entire accounting system in it, which was pretty impressive - very fast and utterly obsolete as soon as Windows 3.1 died. I love assembly language: there's a purity to it which you don't find anywhere else.
|
|
|
|
|
Dan Sutton wrote: utterly obsolete as soon as Windows 3.1 died.
Windows 3.1 never died. It just faded away.
|
|
|
|
|
unlike other windows os that stop working on newer hardware (there is probably some afforest time trigger) win3.1 still runs without problems on new machines.
at least it was running the last time i checked, intel dual core.
windows 95 started making trouble on pentium 2/3 agp slot machines.
you could hardly run windows 2000 on anything newer than lga775 and now the time cycle is set to minimal.
this years machines run only on this years version of win 10. give or take a year or two max.
|
|
|
|
|
I have done a small(ish) ammount of 80X86 assembly when I was at Uni to get a graphics system working always wanted to go down the rabbit hole could never find the time or the book, I have ordered it just need some time now. When you are unemployed and have the time I never have the money for these things. Need to save more (or buy stuff to keep occupied while you can!!)
|
|
|
|
|
I used to write graphics routines in the late 90s while at uni using TASM (Turbo Assembler). Good old INT13 on Intel x86.
Inline ASM in Turbo Pascal was also handy.
I implemented a Bresenham line algorithm from C and extracted ROM fonts for pretty graphics.
I wrote a system that used INT1C to perform crude TDM multitasking in DOS. Not sure where i found that gem.
I still have Peter Norton's book somewhere too. That low level disk access!
|
|
|
|
|
|
|
|
If you are melancholy, are you really good at herding fruit?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You might be sad because you cantaloupe.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
The thought gives me gooseberries.
|
|
|
|
|
It means that the puppies are melon-collie babies.
It also means that you need to air your jokes out more often - they're getting stale...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
modified 9-Feb-21 12:21pm.
|
|
|
|