• Hello MLAers! We've re-enabled auto-approval for accounts. If you are still waiting on account approval, please check this thread for more information.

Search results

  1. B

    Help with TCPExample in Pascal

    You missed a couple arguments there. The definition has 6 arguments, you've got 4.
  2. B

    PS2 Keyboard on Mac Plus

    It's difficult to tell what the problem is there. Does toggling the capslock key toggle the led? If so, then at least the adapter and ps2 keyboard are talking. dougg3 also made a change to the firmware, where I had a pullup on the ADB power line. This didn't seem to affect my 9600, and...
  3. B

    Help with TCPExample in Pascal

    function NewPassiveConnection (var cp: connectionIndex; buffersize: longInt; localport: integer; remotehost: longInt; remoteport: integer; dataptr: univ ptr): OSErr; That's the declaration of the function, it has 6 arguments and returns an OSErr. OSErr is a 16bit number, and is the typical Mac...
  4. B

    Help with TCPExample in Pascal

    I'm not very familiar with this MacTCP wrapper library you're using, but it looks like the way you create a listening socket instead of connecting to another machine is with NewPassiveConnection, and then the C_Established event will be when a client connects. For the file access, you might...
  5. B

    SCSI2SD Project - anyone interested ?

    Looks like I ordered it on the 10th, so it should ideally have that change. Thanks!
  6. B

    Appropriate Block Size For CD-ROM?

    512 byte block size should be good.
  7. B

    SCSI2SD Project - anyone interested ?

    I'm all in on the project too! I've ordered a batch of PCBs, and hope to assemble my own. I'm also on the reserved list for an assembled version, so I can have a known good one to compare against. :) I'm under the impression I should be able to use my Segger jlink with the proper cabling...
  8. B

    Help with TCPExample in Pascal

    It might be helpful to take a step back first. telnet may not be the best protocol to try implementing first, since there's some preliminary option negotiation as part of the telnet protocol. If you're using tcpdump, you might try something like "tcpdump -n -i -s 0 -X" to capture complete...
  9. B

    PS2 Keyboard on Mac Plus

    Thanks! Yeah, using a modern mouse on the Plus is suuuper smooth in comparison to the original mouse. As dougg3 found (and fixed, thanks!) the time it takes to reset the mouse can vary, and some take longer than the time I originally waited. This should be fixed in the subversion repository...
  10. B

    Figuring Out How a CDEV Resource Works

    Grab your favorite 68k disassembler and have at it. I use macsbug for anything in memory, and fdisasm for everything else. Ye Olde Resorcerer can also disassemble some resources.
  11. B

    Figuring Out How a CDEV Resource Works

    The following resources document control panels: Inside Macintosh: Operating System Utilities, Chapter 5 Inside Macintosh: Volume VI, Chapter 10 Inside Macintosh: Volume V, Chapter 18 The cdev resource is a code resource that is jumped to by the Finder in System 7, and by the control panel...
  12. B

    PS2 Keyboard on Mac Plus

    These directions I linked from the wiki page (and is included in the source, also linked from the wiki page) should cover everything necessary to build the source and program the device. Basically it uses the codesourcery gcc and openocd...
  13. B

    PS2 Keyboard on Mac Plus

    I don't know the maximum length. I think I use a 3m cable.
  14. B

    MacASM (or other simple assembler?) manual/tutorial

    FWIW, I usually use code warrior, which is really more of a C/Pascal compiler, but you can define asm functions, and it takes care of the glue of turning it into an application. I've also used THINKC, which can also do assembly functions, and is probably more appropriate for minivmac. Another...
  15. B

    PS2 Keyboard on Mac Plus

    Thanks! I hope it works for you. I've made a smaller version of the board that will hopefully fit on top of the discovery board instead of on the bottom, like bigmessowires suggested. For now, I've just swapped the rj11 connector to be for the handset. Perhaps the MAX4619 can find a place on...
  16. B

    PS2 Keyboard on Mac Plus

    Hah. Actually, the Plus keyboard is even wonkier. If a /(forward slash), *(asterisk), or +(plus) key is pressed on the Plus keyboard's keypad, the Plus keyboard inserts a shift down event into the stream. So, if you press any of those keys, the computer issues Inquiry, the keyboard responds...
  17. B

    PS2 Keyboard on Mac Plus

    Ah, right, yes. There's lots of PS2 keys with multibyte scan codes. Some with as many as 6 bytes! That shouldn't be the issue here though. The code synchronously reads in the PS2 codes in the main loop, and the ADB and pre-ADB stuff is all handled asynchronously through a timer interrupt...
  18. B

    PS2 Keyboard on Mac Plus

    Well, sort of. The keypad sends a 0x79 response to the computer's Inquiry command, the computer then sends an Instant command, and then the keypad sends the key event. That's what I'm currently doing. But the physical keypads changed. The original keypad had arrow keys instead of the forward...
  19. B

    PS2 Keyboard on Mac Plus

    I'm trying to reproduce this and the capslock one, and can't at the moment. It may be related to the keyboard and the keyboard generated autorepeat stuff. I'll try to get some additional ps2 keyboards to test with. The capslock one, I can see that happening if a key down/up event was missed...
  20. B

    PS2 Keyboard on Mac Plus

    Actually, does anyone have a physical Plus keyboard or separate keypad? I'm interested in knowing what these buttons do on the real keyboard. I'm returning the codes defined in Guide to the Macintosh Family Hardware, but they are the same codes as the keys you're getting (keypad / keycode is...
Back
Top