Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. aldeburan

    NT C drive space and Pagesys file

    Hi, I know im not using NT but my problem is exactly the same as crmayer and XP Pro is based on the same technology. I'm running win98 on my C drive, which is 1GB in size, and XP (NTFS) on my D which is 29GB. What happens to me is that pagefile.sys goes onto the C drive (it never used to be...
  2. aldeburan

    Is it possible to restore Redhat 9.0 to first installation?

    I was using Kdevelopment to write and compile some 'C' code. My system crashed, rebooted and then prompted for scans using the 'fsck' command, which i did. It fixed a few errors and rebooted. Now when i go into linux it wont let me start any programs. The program flashes up onto the screen...
  3. aldeburan

    subroutine queery

    Thanx lionelhill, i managed to get it working, heres what i done: .model large .stack 100h .data prompt DB 'Press 1-9 to play notes in the scale of D!',13,10,'$' exit DB 'Press x to exit!',13,10,'$' .code mov ax,@data mov ds,ax jmp...
  4. aldeburan

    subroutine queery

    I suppose it would be easier if i gave an example of my code. Its the same code im trying to write with keys 1-8 playing musical notes. Someone recommended me to use jmp commands to a 'mainroutine' to reduce the size of code, however i cant always get the program to jump back to the original...
  5. aldeburan

    subroutine queery

    hello can anyone tell me the syntax for declaring, calling and returning from a subroutine. Thanx
  6. aldeburan

    Relative jump out of range by 0002h and 000fh bytes *ERROR*

    Thanx straiph, it would seem more logical to use the subroutines to reduce program size. I see why you've reversed the values so when they are popped from the stack they are in the correct order. My main objective was just to get the prog working as this is the first time i have ever done any...
  7. aldeburan

    Relative jump out of range by 0002h and 000fh bytes *ERROR*

    Thanx AirCon, That was strange, i tried something very similar yesterday with no luck, well there was some luck, however whenever i pressed 7 or 8 it took two key presses before the sound played. Anyway i tried what you suggested today and hey presto it worked. So thanx for your time and advice...
  8. aldeburan

    Relative jump out of range by 0002h and 000fh bytes *ERROR*

    Hello, ive to write an assembly language program for college that will play musical notes when the user strikes the keys (1-8). Heres my code: .model large .stack 100h .data prompt DB 'Press 1-8 to play notes!',13,10,'$' .code mov ax,@data mov...

Part and Inventory Search

Back
Top