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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.