News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Recent posts

#21
The Orphanage / Re: Z80?
Last post by stoo23 - March 26, 2024, 06:55:07 AM
So, with regard to NoCforMe's earlier suggestion, what is the 'vibe' regarding the Z80, having it's own section or sub-section ?? and if so, where ??  :smiley:
#22
The Orphanage / Re: Z80?
Last post by NoCforMe - March 26, 2024, 06:32:11 AM
Quote from: raymond on March 26, 2024, 04:53:22 AMOne detail I seem to remember about the Z-80 was that it had two sets of common 8-bit registers you could switch between each other without loosing their contents.

Yes, those are the "shadow registers":
ex af,af' ;switch af with its shadow
exx ;switch bc, de, and hl with their shadows
Essentially doubles the number of available registers (and not just for interrupt processing as I stated above).
#23
The Orphanage / Re: Z80?
Last post by raymond - March 26, 2024, 04:53:22 AM
Quote from: sinsi on March 25, 2024, 03:44:51 PMThe Z80 has a special place in my heart.
Fun times in the '80s  :eusa_boohoo:

Same here.

The first computer I purchased (in the mid-80s) was a Radio Shack TRS-80 in a garage sale. It came with a manual explaining the Basic language. In that manual, there was a short section talking about "machine language". Being the curious type, I spent another $4 and purchased a manual providing all the relevant details on that subject.

The internet still being in its early infancy, assemblers were not readily available. Programs had to be hand coded and kept on floppies. I was rapidly sold on the virtues of assembly when I found out that programs would run like 100 times faster than those written in Basic!!!! I eventually wrote my own assembler to more easily make corrections or modifications to my programs.

It's also with the Z-80 that I wrote my first program to extract a square root with 10,000 significant digits (with only 64 kb memory on that TRS-80).

One detail I seem to remember about the Z-80 was that it had two sets of common 8-bit registers you could switch between each other without loosing their contents.
#24
The Campus / Re: Macro Question
Last post by FORTRANS - March 25, 2024, 10:49:57 PM
Hi,

Quote from: sinsi on March 25, 2024, 11:37:29 AMThe original macro was fine.

Sorry for hijacking your thread Steve  :sad:

   Actually, as a "cut and paste" Windows programmer,
having someone ask how things really work and have
someone try to explain things is still useful.  After
all this is "The Campus" sub-forum.

   If things start to work out with my program I
will have to try some weird things out to see
what works and what doesn't.  Maybe I can finally
learn something useful about Windows programming?

Regards,

Steve N.
#25
The Campus / Re: ETW Event Consumer, StartT...
Last post by Fraile - March 25, 2024, 09:54:02 PM
Hi six_L, I've managed to do it. The problem was the format; it works fine with the 'wsprintf' function, using the format value '%S'. I'll pass along all the code; everything is working up to this point. Thank you very much for your help and advice. Now I'm going to try capturing security login events.




#26
The Campus / Re: ETW Event Consumer, StartT...
Last post by six_L - March 25, 2024, 09:30:21 PM
Hi,Fraile
1)
The Microsoft Windows Security Auditing trace relates to Ring0. it's not easy.
2)
I can't access the web link. post it here.

regard.
#27
The Orphanage / Re: Z80?
Last post by NoCforMe - March 25, 2024, 04:13:55 PM
And don't forget that really kewl context-switch operation to handle interrupts. Way ahead of its time!
#28
The Orphanage / Re: Z80?
Last post by sinsi - March 25, 2024, 03:44:51 PM
The Z80 has a special place in my heart, it's the first Intel-based ASM that I learned. Based on the 8080 but could use 16-bit registers (BC, HL?), as well as an index register or two (IX and IY). Running CP/M 2.

There are a few emulators around
Fun times in the '80s  :eusa_boohoo:
#29
The Orphanage / Z80?
Last post by NoCforMe - March 25, 2024, 03:30:13 PM
A new member posed a question about Z80 programming. Question: is that too far outside of our domain here? Should we refer such questions to other forums? (There are a lot out there.) Or should we maybe have a sub-forum that deals with this topic? After all, the Z80 is at least a close cousin of the '86 series of microprocessors.

(My ulterior motive here is that I have an unfulfilled desire to learn to program this processor, which I believe is one of the most under-utilized and under-appreciated machines of the 20th century.)

What d'you think?
#30
The Campus / Re: Macro Question
Last post by sinsi - March 25, 2024, 11:37:29 AM
The original macro was fine.

Sorry for hijacking your thread Steve  :sad: