Recent Posts

Pages: [1] 2 3 ... 10
1
The Orphanage / Re: I'll be buying a new computer...
« Last post by mineiro on Today at 10:27:35 PM »
Hello zedd;
Sysinternals have some good tools to what youre doing, like monitors (files, registry, ... ). I'm not updated but on past have some programs to 'freeze' your hard disk. All changes done will be erased at next boot, so your have your machine at same state or your own config. Other way is that you can create an image of your hard disk as a backup. One good backup to have in hands is just registry, when we install and uninstall programs they don't erase some remnants inside registry. You need a program to create a registry backup, don't do by regedit or reg32, ..., they don't work well to this task. It's hard to backup registry because they are in use by windows, an option is insert your hard disk into other computer and copy manually that files (.dat), other is boot on a linux O.S., mount ntfs partition and copy that specific registry files, this way they are not in use.
Good know that things are going fine to you.
2
The Workshop / Re: My third 64 bit console app...
« Last post by mineiro on Today at 09:52:56 PM »
Hello felipe, you're on the right path, keep walking.
At start of your procedure (sub rsp, ??) just ignore for a while that value and keep coding. After your procedure is done, get the function that have more parameters inside your procedure and based on that you have a value to be inserted at sub rsp, ??. Well, it's a memory eater as you can see because you alloc all memory need. Next challenge can be local variables inside your procedure.
One thing to remember are odd and even parameters to stack alignment. Other thing are leaf functions (the one that don't call others), they can be seen as different way.
3
The Soap Box / Re: HxTsr.exe Application Error? Windows 10
« Last post by hutch-- on Today at 09:29:38 PM »
 :biggrin:

Our bot programmer has been retired graciously with a boot in the behind out the door.  :P
4
Game Development / Re: dinofun (more gdi testing)
« Last post by LordAdef on Today at 09:24:54 PM »
hi, yep. It starts with an ascII file for each map. It’s then parsed and compressed by code. When loaded, we have this big array of 0/1. 0 for vaild spaces, 1 for forbiden terrain.


it’s in fact an array of pointers under the hood.


The collision detection is simple, once we convert the xy screen coordinates and compare with what there is in the array for that spot.


It’s slightly harder for my plane’s bullets, since they travel upwards, while the map scrolls downwards. But it’s just simple maths and comparing areas for intersection.


jumping is rather easy too. I usually do as Daydreamer already said.
5
The Orphanage / Re: I'll be buying a new computer...
« Last post by zedd151 on Today at 08:14:16 PM »
Had to roll back one of the last tweaks.  oooops!   :redface:

I rebooted, and no text was present anywhere.  :icon_redface:
Microsofts' way of saying "Don't touch that!"  :lol:

So C: is back to around 10.2 gigs. I'll take that and tweak no more. As of now, the system is stable no signs of anything amiss. 
6
The Soap Box / Re: HxTsr.exe Application Error? Windows 10
« Last post by zedd151 on Today at 08:02:02 PM »


Try a forum search for lousy bot :P


 :badgrin:   :lol:
7
The Soap Box / Re: HxTsr.exe Application Error? Windows 10
« Last post by jj2007 on Today at 08:00:40 PM »
8
The Soap Box / Re: HxTsr.exe Application Error? Windows 10
« Last post by zedd151 on Today at 07:49:28 PM »
Where can I find more information on this forum?

You'll have to be more specific than that?

What type of information do you seek, bot?

Walks like a duck, quacks like a duck....

quack, quack     :badgrin:

at least it's not "50 years of Basic" again.   :lol:
9
MASM64 SDK / Library update May 2018
« Last post by hutch-- on Today at 05:26:57 PM »
This is the latest version of the library, 110 modules plus the batch file to build it and the include file for the library procedures. You will need to have the 64 bit add on for MASM32 set up and working properly, to install the latest library, rename the existing "m64lib" directory then create a new "m64lib" directory, unzip these files into it and run the "makeit.bat" file to build the library. Make sure it all works properly then you can delete the old "m64lib" directory.
10
The Workshop / Re: My third 64 bit console app...
« Last post by AW on Today at 04:38:16 PM »
Does not crash this time but is wrong.
Try like this:

Code: [Select]
option casemap:none
include \masm32\include64\win64.inc
include \masm32\include64\kernel32.inc
includelib  \masm32\lib64\kernel32.lib

.data
inbuff      byte    256 dup(" ")

.data?
chrsread    dword   ?

.code
start   proc
        sub     rsp,40      ; Shadow space + stack alignment + STACK VARIABLES SPACE FOR THE WHOLE PROCEDURE.

        call    AllocConsole

        mov     rcx,STD_INPUT_HANDLE
        call    GetStdHandle

        ;add     rsp,40      ; WRONG

        ;push    NULL        ; Reserved. DON't DO PUSHES

        ;sub     rsp,40      ; Shadow space + stack alignment. NO

  mov qword ptr [RSP+32], NULL ; LIKE THIS
        mov     rcx,rax     ; stdin.   
        lea     rdx,inbuff
        mov     r8,256      ; Chars to read.
        lea     r9,chrsread
        call    ReadConsole

        ;add     rsp,8 ; WRONG

        call    FreeConsole

        xor     rcx,rcx
        call    ExitProcess

        ;add     rsp,40      ; WRONG. YOU WILL NOT COME HERE
start   endp
        end
Pages: [1] 2 3 ... 10