Author Topic: Uncle Remus Tales  (Read 25135 times)

learn64bit

  • Regular Member
  • *
  • Posts: 3
Re: Uncle Remus Tales
« Reply #120 on: January 17, 2020, 02:00:20 PM »
Someone Help Me!
Code: [Select]
Microsoft Windows 7 Ultimate 64-bit us with Service Pack 1
 Microsoft Windows SDK v7.0
  CMD Shell
   #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
   #.
   #Targeting Windows 7 x64 DEBUG
   #
   #
   #C:\Program Files\Microsoft SDKs\Windows\v7.0>Setenv /Release
    #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
    #.
    #Targeting Windows 7 x64 RELEASE
    #
    #
    #C:\Program Files\Microsoft SDKs\Windows\v7.0>cd \learnASM
    #
    #C:\learnASM>ml64 08.asm /link /subsystem:console /defaultlib:kernel32.lib /defaul
    #tlib:user32.lib /entry:WinMain
    #Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
    #Copyright (C) Microsoft Corporation.  All rights reserved.
    #
    # Assembling: 08.asm
    #08.asm(2) : fatal error A1000:cannot open file : win64a.inc
    #
    #C:\learnASM>

after downloaded Mikl__'s include.zip
Code: [Select]
C:\learnASM>ml64 /Cp /c 08.asm
Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

 Assembling: 08.asm
08.asm(14) : error A2006:undefined symbol : SMALL_RECT
08.asm(14) : error A2195:parameter or local cannot have void type
08.asm(15) : error A2006:undefined symbol : CONSOLE_CURSOR_INFO
08.asm(15) : error A2195:parameter or local cannot have void type
08.asm(16) : error A2006:undefined symbol : INPUT_RECORD
08.asm(16) : error A2195:parameter or local cannot have void type
08.asm(34) : error A2006:undefined symbol : SMALL_RECT
08.asm(40) : error A2006:undefined symbol : SMALL_RECT
08.asm(63) : error A2006:undefined symbol : INPUT_RECORD
08.asm(65) : error A2006:undefined symbol : INPUT_RECORD
08.asm(67) : error A2006:undefined symbol : INPUT_RECORD

C:\learnASM>

after downloaded Mikl__'s Win x64 Tutorial #38
Code: [Select]
Microsoft Windows 7 Ultimate 64-bit us with Service Pack 1
 Microsoft Windows SDK v7.0
  CMD Shell
   #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
   #.
   #Targeting Windows 7 x64 DEBUG
   #
   #
   #C:\Program Files\Microsoft SDKs\Windows\v7.0>Setenv /Release
    #Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.0
    #.
    #Targeting Windows 7 x64 RELEASE
    #
    #
    #C:\Program Files\Microsoft SDKs\Windows\v7.0>cd \learnASM
    #
    #C:\learnASM>ml64 /Cp /c 08.asm
    #Microsoft (R) Macro Assembler (x64) Version 9.00.30729.01
    #Copyright (C) Microsoft Corporation.  All rights reserved.
    #
    # Assembling: 08.asm
    #
    #C:\learnASM>link /subsystem:console /largeaddressaware:no /align:16 /entry:WinMai
    #n 08.obj
    #Microsoft (R) Incremental Linker Version 9.00.30729.01
    #Copyright (C) Microsoft Corporation.  All rights reserved.
    #
    #LINK : warning LNK4108: /ALIGN specified without /DRIVER; image may not run
    #
    #C:\learnASM>
« Last Edit: January 17, 2020, 07:00:09 PM by learn64bit »

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #121 on: January 18, 2020, 02:48:39 AM »
Hi, learn64bit!
universal bat-file
Code: [Select]
cls
set masm64_path=\masm44\
set filename=%~n1
if exist errors.txt del errors.txt

call :read_settings %filename%
@echo %kind_of_file%
goto %kind_of_file%
:CONSOLE
if exist %filename%.exe del %filename%.exe
if exist %filename%.obj del %filename%.obj
if exist errors.txt del errors.txt
%masm64_path%bin\ml64 /Cp /c /I"%masm64_path%Include" %filename%.asm >> errors.txt
if errorlevel 1 exit
if exist %1.rc (
%masm64_path%bin\RC /r /i"%masm64_path%\Include" %filename%.rc >> errors.txt
%masm64_path%bin\link /LIBPATH:"%masm64_path%Lib" ^
/LARGEADDRESSAWARE:NO /BASE:0x400000 /STUB:%masm64_path%bin\stubby.exe ^
/SECTION:.text,W /ALIGN:16 /entry:WinMain /MERGE:.rdata=.text ^
/fixed /nocoffgrpinfo %filename%.obj %filename%.res >> errors.txt
if exist %1.res del %1.res
) else (
%masm64_path%bin\link /SUBSYSTEM:CONSOLE /LIBPATH:"%masm64_path%Lib" ^
/entry:WinMain %filename%.obj /LARGEADDRESSAWARE:NO ^
/ALIGN:16 /SECTION:.text,W /BASE:0x400000 /STUB:%masm64_path%\bin\stubby.exe >> errors.txt
)
if errorlevel 1 exit
del %filename%.obj

goto exit1
:GUI
if exist %filename%.exe del %filename%.exe
if exist %filename%.obj del %filename%.obj
if exist errors.txt del errors.txt
%masm64_path%bin\ml64 /Cp /c /I"%masm64_path%Include" %filename%.asm >> errors.txt
if errorlevel 1 exit
if exist %1.rc (
%masm64_path%bin\RC /r /i"%masm64_path%\Include" %filename%.rc >> errors.txt
%masm64_path%bin\link /LIBPATH:"%masm64_path%Lib" ^
/LARGEADDRESSAWARE:NO /BASE:0x400000 /STUB:%masm64_path%bin\stubby.exe ^
/SECTION:.text,W /ALIGN:16 /entry:WinMain /MERGE:.rdata=.text ^
/fixed /nocoffgrpinfo %filename%.obj %filename%.res >> errors.txt
if exist %1.res del %1.res
) else (
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:"%masm64_path%Lib" ^
/LARGEADDRESSAWARE:NO /BASE:0x400000 /STUB:%masm64_path%bin\stubby.exe ^
/SECTION:.text,W /ALIGN:16 /entry:WinMain /MERGE:.rdata=.text ^
/fixed /nocoffgrpinfo %filename%.obj >> errors.txt
)
if errorlevel 1 exit
goto exit1
:DLL
if exist %filename%.dll del %filename%.dll
%masm64_path%bin\ml64 /c /Cp /I %masm64_path%include %filename%.asm >> errors.txt
if errorlevel 1 exit
if exist %1.rc (
%masm64_path%bin\RC /r  %filename%.rc >> errors.txt
if errorlevel 1 exit
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:%masm64_path%lib ^
/ENTRY:DllMain /DLL /DLL /section:.bss,S /stub:%masm64_path%bin\stubby.exe  ^
%filename%.obj %filename%.res /DEF:%filename%.def >> errors.txt
if exist %1.res del %1.res
) else (
%masm64_path%bin\link /SUBSYSTEM:WINDOWS /LIBPATH:%masm64_path%lib ^
/ENTRY:DllMain /DLL /DLL /section:.bss,S /stub:%masm64_path%bin\stubby.exe  ^
%filename%.obj /DEF:%filename%.def >> errors.txt
)
if errorlevel 1 exit
del %filename%.exp
:exit1
del %filename%.obj
del errors.txt
:: %filename%.exe
exit
:read_settings
for /f "eol=# tokens=2-3" %%A in (%filename%.asm) do (
set kind_of_file=%%A
if %%B == # exit /b )
exit /b
lib-files

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #122 on: January 18, 2020, 02:49:48 AM »
include-files

learn64bit

  • Regular Member
  • *
  • Posts: 3
Re: Uncle Remus Tales
« Reply #123 on: January 18, 2020, 06:13:44 PM »
I don't have the 'stubby.exe' file....
Sir, can you upload your 'masm64_path' folder.
Your masm64 examples are great. Which makes learning about and exploring masm64 programming very easy.

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #124 on: January 18, 2020, 10:36:04 PM »
part 1-st

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #125 on: January 18, 2020, 10:38:26 PM »
part 3-rd

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #126 on: January 18, 2020, 10:41:33 PM »
part 2-nd

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #127 on: January 18, 2020, 10:44:46 PM »
part 4-th
rename files to bin.zip.001, bin.zip.002, bin.zip.003, bin.zip.004  place in one directory and unzip
https://wasm.in/threads/skazki-djadjushki-rimusa.31832/

jj2007

  • Member
  • *****
  • Posts: 9908
  • Assembler is fun ;-)
    • MasmBasic
Re: Uncle Remus Tales
« Reply #128 on: January 18, 2020, 11:00:05 PM »
Hi Mikl,
Google translated your Russian thread for me, with some glitches but still with remarkable quality. Compliments for your great work :thumbsup:

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #129 on: January 18, 2020, 11:04:44 PM »
grazie mille signore jj2007

AW

  • Member
  • *****
  • Posts: 2507
  • Let's Make ASM Great Again!
Re: Uncle Remus Tales
« Reply #130 on: January 18, 2020, 11:09:45 PM »

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #131 on: January 18, 2020, 11:25:54 PM »
Hi, AW!
"Famous Russian writer" is Joel Chandler Harris (December 9, 1848 - July 3, 1908). He was an American journalist, fiction writer, and folklorist best known for his collection of Uncle Remus stories. Harris was born in Eatonton, Georgia, where he served as an apprentice on a plantation during his teenage years.
Walt Disney's "Song of the South" (1946), a combination of live action and animation with James Baskett as Remus

Splash Mountain is a log flume at Disneyland, Tokyo Disneyland, and the Magic Kingdom at the Walt Disney World Resort, based on the characters, stories, and songs from the 1946 Disney film Song of the South. Although there are variations in the story and features between the three locations, each installation begins with a peaceful outdoor float-through that leads to indoor dark ride segments, with a climactic steep drop into a "briar patch" followed by an indoor finale. The drop is 50 feet.

The plot behind Splash Mountain is a composite of several Uncle Remus stories. The different versions of Splash Mountain feature similar stories, albeit with small differences. Each ride presents scenes taken from the animated segments of Song of the South, telling the story of Br'er Rabbit, the protagonist, a mischievous hero who leaves his home in search of adventure. Br'er Fox and Br'er Bear, the antagonists of the story, are determined to catch him, but are repeatedly tricked into letting him free. The sharp-witted Br'er Rabbit avoids a snare trap (as described in "Br'er Rabbit Earns a Dollar a Minute") and uses it to trap Br'er Bear instead. Br'er Rabbit continues on his journey to find his "laughing place". Out of curiosity, his foes follow but only for Br'er Rabbit to lead them into a cavern of bees. Br'er Fox eventually catches Br'er Rabbit in a beehive and threatens to roast him. Br'er Rabbit uses reverse psychology on Br'er Fox, begging the fox not to throw him into the briar patch (as described in "The Tar Baby"). Naturally, Br'er Fox throws Br'er Rabbit into the briar patch (represented by the ride's picturesque flume drop); Br'er Rabbit escapes uninjured, remarking, "I was born and raised in the briar patch!" The other animals rejoice to have Br'er Rabbit back home, while Br'er Fox and Br'er Bear are last seen narrowly escaping the jaws of Br'er Gator.

learn64bit

  • Regular Member
  • *
  • Posts: 3
Re: Uncle Remus Tales
« Reply #132 on: January 18, 2020, 11:36:01 PM »
Great! I use 7-Zip to get bin.zip.

Mikl__

  • Member
  • ****
  • Posts: 785
Re: Uncle Remus Tales
« Reply #133 on: Today at 12:08:09 AM »
Hi, learn64bit!